Stateless vs Sticky sessions
Inspired by 900+ hours of Learning System Design in 9 Minutes
Stateless Sticky sessionsin the trade-off explorer →
Sticky session means it'll only work if the user has time come back to a specific server.
Stateless means server needs to treat the request as if the user came in here for the very first time
Sources
- 900+ hours of Learning System Design in 9 Minutes inspired this note
Referenced by
- API DesignSeedling
- Managing sessionsGrowing
Session database. django-session. Having a session database rather than storing in the server's memory, allows avoiding sticky sessions. It's best to have sessions expire so that the data gets cleaned eventually. When…