hapijs / yar

A hapi session manager
Other
133 stars 59 forks source link

Session in distributed environment #130

Closed zeyab closed 5 years ago

zeyab commented 5 years ago

Is the session tied to single server? Or is the session supported in non-sticky load balancer environment?

hueniverse commented 5 years ago

Session is stored in a cookie or cache. The distributed properties are tied to which cache implementation to use. The default memory-based is not going to work across servers. A Redis one will. The cookie method will always work across a distributed env.

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.