[imp] memcached sessions
Kevin M. Myer
kevin_myer at iu13.org
Thu Oct 13 03:24:07 PDT 2005
Quoting Didi Rieder <adrieder at sbox.tugraz.at>:
> Ok I looked at this, and made a small change in order to have
> persistent connections
> to the memcached deamon. The patch is attached to this message.
Should this be a config option for the memcached driver, instead of
hard coded? I had implemented it as a config option locally.
> I see. The pecl memcache implementation (which is used by Horde)
> doesn't support
> multiple servers as for example the perl-API does.
> (see <http://www.danga.com/memcached/> under "Porting the
> Application" and the
> perl-API from CPAN ).
> So I have to run it on a single server and don't have any redundancy
> for that in our cluster.
Support for multiple servers can be coded into the SessionHandler code.
I took
a crack at it last night and it seems to work, except for if multiple servers
are specified and a server is down, so I've got at least one bug somewhere,
maybe more :)
Kevin
--
Kevin M. Myer
Senior Systems Administrator
Lancaster-Lebanon Intermediate Unit 13 http://www.iu13.org
More information about the imp
mailing list