hi brian,

i notice this thread was last active over a year ago.. so i thought it was
about time for a recap (in light of the fact that documentation for
pecl/memcache and pecl/memcached is sometimes not always up-to-date) --

1) has the persistent connections bug in pecl/memcached been fixed , and if
so, is it now stable (i.e. wud u recommend using it in a production
environment)? what release/version?
2) in the past, you've recommended using pecl/memcache 2.2.x  for
persistent connections with a workaround -- is this still the case now? is
the workaround still necessary? does that workaround now address the maxing
out of memory?
3) persistent connections are generally recommended but can usually cause
problems with buggy client implementations as is evident with the php
clients.. do u still recommend them?
4) from some of your tests, what is the performnce gap between using
persistent and non-persistent connections in either client? is it large
enough to warrant a trade in of a larger memory footprint by persistent
connections for the performance gain? put another way: would you absolutely
*not* recommend non-persistent connections from a performance standpoint?
5) lastly, and slightly off topic (apologies) but relevant, knowing as i do
that you use mysql, wud you apply similar logic to connections in mysql
using PDO? feel free not to bother with this as it's not the right forum
:).. just though i wud drop it in..

cheers,

-m.

On 9 September 2010 16:48, Brian Moon <[email protected]> wrote:

> On 9/9/10 10:20 AM, the_fonz wrote:
>
>> We reverted back to 1.4.5. Still get continuous  timed out connections
>> with no increase in listen_disabled_num
>>
>> I read 
>> http://brian.moonspot.net/php-**memcached-issues<http://brian.moonspot.net/php-memcached-issues>
>>
>> I see that PECL/memcached is buggy for persistent connections but am
>> wondering if I should enable persistent connections with
>> php-pecl-memcache-2.2.3, would this speed things up?
>>
>> Is it worth trying PECL/memcached without persistent connections?
>>
>
> I run PECL/memcache with persistent connections always.
>
> If you dig through the comments on my blog post there is a work around for
> the persistent connection issue in PECL/memcached. But, there are other
> issues with that library that will hopefully be fixed soon.
>
>
> --
>
> Brian.
> --------
> http://brian.moonspot.net/
>

Reply via email to