Sticky sessions are great for simplicity, but yeah, if that server dies, so does the session. I’ve been burned by that before.
Session replication is a pain, but tools like Redis or Hazelcast can make it way easier. They handle the syncing for you, so you don’t have to herd those cats yourself.
If you’re leaning toward sticky sessions, maybe pair it with a good load balancer (like NGINX or HAProxy) that can handle failover gracefully. Not perfect, but better than nothing.
Also, “sticky” totally feels like glue—once you’re stuck, you’re stuck!
Session replication is a pain, but tools like Redis or Hazelcast can make it way easier. They handle the syncing for you, so you don’t have to herd those cats yourself.
If you’re leaning toward sticky sessions, maybe pair it with a good load balancer (like NGINX or HAProxy) that can handle failover gracefully. Not perfect, but better than nothing.
Also, “sticky” totally feels like glue—once you’re stuck, you’re stuck!
