I have a RoR web application (w / mysql) load balanced on multiple identical servers. The app requires cookies and sessions to function.
Currently, the client is always routed to the same server behind the load balancer, and if the server is deleted, the client will be redirected to another server and their session will end.
Current architecture The load balancer will only load balance machines in one data center. I would like to use several data centers to geographically distribute the load using DNS round robin and provide additional redundancy.
If I enabled ActiveRecordStore to store the session in my RoR application, this should solve the problem above, the client can be redirected to each individual server, and their session will be intact. Is it correct?
Are there any serious implications of using ActiveRecordStore for sessions?
source share