Mailing List talk@openhack.ru Message #11
From: Kostas Chatzikokolakis <kostas@chatzi.org>
Subject: Reconnections and mod_perl
Date: Thu, 21 Feb 2008 20:31:52 +0100
To: talk@openhack.ru
Hello and thanks for this great module,

I'd like to ask wether Cache::Memcached::Fast keeps connections to
memcached servers open, and if so, does it reconnect in case a
connection drops?

I want to use the module under mod_perl, and the natural thing to do is
to keep a pool of C::M::F objects in a global hash, to avoid creating a
new object in each request (similarly to what Apache::DBI does for DBI).
However I don't know if this is safe in case a connection drops. What is
the best way to use C::M::F under mod_perl?

Thanks in advance,
Kostas

Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster