I use PHP extension called Memcache. Do you use it too? It works much better 
with persistent connections.

 

Olga.

 

________________________________

From: [email protected] [mailto:[email protected]] On Behalf 
Of Jonathan Ariel
Sent: Tuesday, January 20, 2009 2:09 PM
To: [email protected]
Subject: Re: Persistent connection or not persistent connection?

 

I'm using the PHP client that comes "natively" with PHP.
I'm using the addServer command, so I assume I'm using a pooling mechanism.
Is it the recommended way to use memcached from PHP? Is there any other PHP 
client?

On Tue, Jan 20, 2009 at 9:33 AM, Henrik Schröder <[email protected]> wrote:

I think you'll save yourself a lot of headaches if you just pick a better 
client instead of sticking with a non-pooling client and putting this thing in 
the middle.


/Henrik

 

On Tue, Jan 20, 2009 at 11:45, pcdinh <[email protected]> wrote:


I find that there is a open source project http://code.google.com/p/memagent/
that implements the same idea: keep connections to Memcached


On 20 Tháng Giêng, 17:22, "Jonathan Ariel" <[email protected]> wrote:
> Hi all!
> Just wondering if on a high traffic website it's better to have or not
> persistent connections.
> Is there any recommendation? Is there any cost on leaving connections open?
> Is it less than opening them on every request?
>
> Thanks,
>
> Jonathan

 

 

Reply via email to