I have load balancer for my Rails servers (about 5 servers),
That is user won't access the same server next time when user comes back.
How can I share the session information so that user won't have to login again.
I have load balancer for my Rails servers (about 5 servers),
That is user won't access the same server next time when user comes back.
How can I share the session information so that user won't have to login again.
You create and manage to share HTTP cookie (same domain, right?) between all available servers that have a Rails app up and running. The cookie references to session_id you store in shared database or key/value storage every application has an access to.
The best load balancing mechanism is where you can do Road-Robin and don't use Sticky Sessions. In that case any of app server can go down for maintenance without interrupt users requests.