jmlw
  • About
  • Posts
Posts
image from Load Balanced Websockets with Spring Cloud Gateway

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.

Read more...
image from External Application Config with Spring Cloud Kubernetes

External Application Config with Spring Cloud Kubernetes

A common pattern when deploying applications to a development, staging, and production environment is to build a jar or docker image one time, then supply different configuration values in the deployment for each stage. This configuration could be a Spring profile in separate yaml documents, additional properties files, environment variables, or some other configuration mechanism.

Read more...
image from WebSockets with Spring Boot

WebSockets with Spring Boot

In traditional web applications, it’s only possible to interact with the server via a request and wait for a response. With modern interactive applications, this approach is not ideal for any user interaction when we want to get updates from the server without having to continuously make requests to learn if anything interesting has happened on the server. The solution is to provide a bi-directional, persistent means of communication between the client and the server. This is where WebSocket comes in.

Read more...
image from Random Server Ports and Spring Cloud Service Discovery with Netflix Eureka

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!

Read more...
image from Home File Server - SnapRAID

Home File Server - SnapRAID

What is SnapRAID? Snapraid is a Snapshot Parity RAID-like system, or from the blurb on (SnapRAID’s website)[https://www.snapraid.it], “A backup program for disk arrays. It stores parity information of your data and recovers from up to six disk failures”.

Read more...
image from Elasticsearch - IDs are hard

Elasticsearch - IDs are hard

Sometimes RTFM (read the f***ing 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.

Read more...
image from Spring Data Elasticsearch and Geopoints

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.

Read more...
© jmlw 2025