another look at high concurrency and cpu usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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
jmadden at ivytech.edu


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux