How Do Sticky Sessions Work in Load Balancing? Need a Clear Explanation! or Are Sticky Sessions Reall

16 Replies, 1155 Views

"Sticky Sessions vs. Session Replication – Which One Should I Use?"

Hey folks,

So I’ve been wrestling with this whole sticky session thing vs. session replication for my app. Sticky sessions seem easier—just pin a user to one server, right? But what if that server crashes? Boom, session gone.

Session replication sounds safer, but man, the overhead! Syncing sessions across nodes feels like herding cats.

Is sticky session *really* that bad for HA setups? Or am I overthinking it?

Kinda leaning toward sticky sessions for simplicity, but I don’t wanna shoot myself in the foot later.

What’s y’all’s take? Anyone been burned by either approach?

(Also, why’s it called *sticky* anyway? Feels more like glue than jam lol.)

Messages In This Thread
How Do Sticky Sessions Work in Load Balancing? Need a Clear Explanation! or Are Sticky Sessions Reall - by - 21-02-2025, 01:16 PM



Users browsing this thread: 2 Guest(s)