Forum Moderators: coopster
After activating an old application that was using php sessions (in the mean time we are on a load balanced round robin system) it happened that users where losing answers.
Problem the sessions are on the wrong server sometimes.
So what would you do?
1) ip based load-balancer
- could overload one machine if people access though one ip
+ no application change
2) Session-persistent load-balancing
- performance of the lb
+ no change to the application
3) Sharing session information through NFS
- nfs file locking
- single point of failure
+ no application change
4) Storing session in a database
- what if both servers update at the same time?
- need to rewrite php default session handeling
+ no application change
5) Zend Session Clustering using a Session clustering Deamon
- unclear pricing? Part of Zend Platform
+ no application change
We tend to use perhaps go for 3 or 4. Are there options pros and cons I missed?
New google feature? type "php session cluster module"
I got a captcha to fill in! ;-)
thanks,
Bastiaan