Hi, The latest alpha version of pecl/memcache supports redundancy where values (i.e. your session) are written to two or more servers so sessions may automatically survive server failures or restarts.
Personally, I'd rather use database backed sessions with memcached as a transparent cache on top of it as Perrin suggests. This can easily be implemented in PHP, for example http://svn.synd.info/code/trunk/core/lib/SessionHandler.class.inc http://svn.synd.info/code/trunk/core/lib/CacheStrategy.class.inc //Mikael Perrin Harkins wrote: > On Dec 17, 2007 1:30 AM, Krystian <[EMAIL PROTECTED]> wrote: >> I'm looking for cache software which I can use in Load Balancing web >> servers (especially php sessions). > > Remember, memcached is fast but not reliable storage. If losing > sessions would be a problem for your site, you should not store them > only in memcached. You could store them in a database and use > memcached to cache them. > > - Perrin
signature.asc
Description: OpenPGP digital signature
