Spring Boot WebSocket Clustering: State Decoupling & Routing at Scale
This article details production-hardened patterns for scaling Spring Boot WebSocket clusters, covering protocol trade-offs, STOMP heartbeat alignment, Redis-based routing, offline message compensation, reconnection backoff, idempotency layers, Undertow tuning, memory leak diagnostics, Nginx proxy pitfalls, split-brain defense, and graceful shutdown — all grounded in real incidents.
