Storing sessions on an NFS share is usually your only choice.

What are the downsides to this? The mount failing? anything else?


Unless you can configure your load balancer to map to servers by source
IP, and not randomly.

This is one of the options that I was exploring. If I can keep the user on the same node, then I can keep file-based sessions on that web server and everything will be peachy. Are there any downsides to this?


Both options come with drawbacks, that is why databases are so often
used for storing sessions.

Are there any big websites that use file-based sessions or are they all database-drive with huge clusters? We are using a database for sessions currently but it cannot keep up and brings the site to it's knees.


The last option I was considering was storing the session in a cookie as an encrypted, serialized array. What are the groups thoughts on this?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to