Storing PHP sessions on Gluster FS really isn't a good option, because
session file is locked while scripts access it. You will definetly hit
a performance issue. My advice is to setup a memcached server and use
memcache (or memcached) PHP module's ability to store session data in
memcache server. It has the capability to provide a fault-tolerant
service if you setup a few memcached servers. And it's lightning fast.

Interesting. I had actually used memcache sessions before but the app doesn't work with them so I had to fall back to file-based sessions. Why does locking cause such problems? It works quite well on NFS.

John




--
John Madden
Sr UNIX Systems Engineer
Ivy Tech Community College of Indiana
[email protected]
_______________________________________________
Gluster-users mailing list
[email protected]
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

Reply via email to