Yet Another Programmer's Blog
  • Home
  • Résumé
  • GitHub
  • GitLab
Load Balanced Websockets with Spring Cloud Gateway
spring cloud

Load Balanced Websockets with Spring Cloud Gateway

The ability to have real-time two-way communication between the client and the server is a key feature in most modern web apps. A simple approach to setting up WebSockets in Spring Boot is covered in Simple WebSockets with Spring Boot, which uses an in-memory message broker. This approach falls short,
Aug 26, 2019 — 21 min read
External Application Config with Spring Cloud Kubernetes
kubernetes

External Application Config with Spring Cloud Kubernetes

Externalized configuration for Spring Boot in Kubernetes is simple with ConfigMaps and spring-cloud-kubernetes-config
Aug 2, 2019 — 11 min read
Simple WebSockets with Spring Boot
spring framework

Simple WebSockets with Spring Boot

How to build a simple WebSocket application with Spring Framework
Apr 16, 2019 — 10 min read
Random Server Ports and Spring Cloud Service Discovery with Netflix Eureka
spring cloud

Random Server Ports and Spring Cloud Service Discovery with Netflix Eureka

Recently, I've had an issue were I want to be able to run multiple spring boot services locally for testing and development purposes. Unfortunately they all run on the same port so they fail to start! Fixing this is simple enough, in our Spring Boot application, we can just configure
Jan 31, 2019 — 2 min read
Home File Server - SnapRAID
file server

Home File Server - SnapRAID

SnapRAID - A quick how-to Software RAID for protecting your data when you don't want to actually use RAID
Jan 6, 2019 — 7 min read
Elasticsearch - IDs are hard
elasticsearch

Elasticsearch - IDs are hard

Sometimes RTFM (read the f****** manual) is really the best solution, but when building quickly and being agile, there's not always time to read every page of the manual. I learned recently that Elasticsearch (and Amazon DynamoDB coincidentally) enforces a limit on document IDs. I discovered this because of generated
Aug 1, 2018 — 4 min read
Spring Data Elasticsearch and GeoPoints
elasticsearch

Spring Data Elasticsearch and GeoPoints

Some backstory... I was working on a Java app with an Angular 1.x frontend. The base project was generated by JHipster and uses PostgreSQL for the DB and Spring Boot. The application relies heavily on being able to return a list of items that are "near" the
Jul 5, 2016 — 2 min read
Yet Another Programmer's Blog © 2022
Powered by Ghost