[Gluster-users] another look at high concurrency and cpu usage

John Madden jmadden at ivytech.edu
Tue Feb 16 16:04:37 UTC 2010

> 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 Madden
Sr UNIX Systems Engineer
Ivy Tech Community College of Indiana
jmadden at ivytech.edu

More information about the Gluster-users mailing list