Return-Path: Received: from vid.zoo.gr ([206.188.4.140] verified) by mx.softsearch.ru (CommuniGate Pro SMTP 5.1.14) with ESMTP id 63969415 for talk@openhack.ru; Thu, 21 Feb 2008 22:31:51 +0300 Received: from [192.168.1.100] (ip82-139-112-245.lijbrandt.net [82.139.112.245]) (Authenticated sender: kostas) by vid.zoo.gr (Postfix) with ESMTP id 1694E218194 for ; Thu, 21 Feb 2008 21:31:52 +0200 (EET) Message-ID: <47BDD1A8.6050506@chatzi.org> Date: Thu, 21 Feb 2008 20:31:52 +0100 From: Kostas Chatzikokolakis User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: talk@openhack.ru Subject: Reconnections and mod_perl X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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