How are you performing the test? Is memcached over localhost or over the
network?

If you can reproduce this in isolation I'd be curious to see what
memcached and/or php are waiting on that takes so long (via strace or
similar).

On Wed, 24 Feb 2010, me from wrote:

> Adam we are on freebsd 7.2, as i said early we use PECL memcached 1.0.0 with 
> libmemcached 0.35, the memcached version is 1.4.4.
>
> We use our framework this is an init method
>
>     public static function instance() {
>         if (self::$instance === NULL) {
>             // Create a new instance
>             self::$instance = new Memcached ();
>             self::$instance->setOption (Memcached::OPT_DISTRIBUTION, 
> Memcached::DISTRIBUTION_CONSISTENT);
>             self::$instance->addServers (array (array ('127.0.0.1', 11211, 
> 100)));
>         }
>     }
>
> and this is a set method that works fine with small data and stops with data 
> > 100kbs
>
>     public static function set($key, $item, $exp = 60) {
>         return self::$instance->set ($key, $item, $exp);
>     }
>
> Marc, no we don't use persistent you can see it in our init method.
>
>
> On Wed, Feb 24, 2010 at 8:47 PM, Marc Bollinger <mbollin...@gmail.com> wrote:
>       And are you using persistent connections? There have been a handful of
>       threads recently, discussing setting up persistent connections with
>       PECL::memcached.
>
>       - Marc
>
> On Wed, Feb 24, 2010 at 9:41 AM, Adam Lee <a...@fotolog.biz> wrote:
> > What kind of hardware and software configurations are you using on the
> > client and server sides?
> > We have servers doing like 5M/s in and 10M/s out without even breaking a
> > sweat...
> >
> > On Wed, Feb 24, 2010 at 7:35 AM, me from <chaostyz...@gmail.com> wrote:
> >>
> >> We use memcached php extension, (http://pecl.php.net/package/memcached)
> >>
> >> On Wed, Feb 24, 2010 at 12:02 PM, Juri Bracchi <yak...@gmail.com> wrote:
> >>>
> >>> the latest memcache php extension version is 2.2.5
> >>>
> >>> http://pecl.php.net/package/memcache
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> On Wed, 24 Feb 2010 05:09:36 +0300, me from wrote:
> >>> > No. Sorry for misunderstanding, its my bad. Its php extension (PECL)
> >>> > of version 1.0.0.
> >>> >
> >>> > Memcached is 1.4.4
> >>> >
> >>> > On Wed, Feb 24, 2010 at 4:42 AM, Eric Lambert
> >>> > <eric.d.lamb...@gmail.com> wrote:
> >>> >>>
> >>> >>> PHP5.3, libmemcached 0.35, memcached 1.0.0
> >>> >>
> >>> >> Is this really the version of the memcached server you are using
> >>> >> (1.0.0) If so, that is certainly out-of-date. Latest version is
> >>> >> 1.4.*.
> >>> >>
> >>> >> Eric
> >>> >>
> >>> >>
> >>> >> Chaosty wrote:
> >>> >>> We have found that Memcahed::set stores items around 100-200kbs for
> >>> >>> 0.10-0.11 seconds, its too slow. Compression is turned off. Any
> >>> >>> suggestions?
> >>> >>>
> >>> >>> PHP5.3, libmemcached 0.35, memcached 1.0.0
> >>> >>>
> >>> >>
> >>> >
> >>
> >
> >
> >
> > --
> > awl
> >
>
>
>
>

Reply via email to