[UPHPU] load balanced file-based sessions
Wade Preston Shearer
lists at wadeshearer.com
Tue May 6 11:21:33 MDT 2008
> 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20080506/5f56cdb8/smime.bin
More information about the UPHPU
mailing list