stackvana / hook.io

Open-Source Microservice Hosting Platform
https://hook.io
Other
1.27k stars 119 forks source link

Move express session storage to redis #167

Closed Marak closed 8 years ago

Marak commented 8 years ago

As part of our DNS load-balancing scale-out we'll need to move session storage of the front-end servers to redis.

This is due to the fact that there will be multiple front-end server and incoming requests will be round-robin. Since there is no guarantee which front-end server will be hit, the session needs to persist in a database.