Confused on scaling memcached & persistant connections

Mike Lynn mike at
Fri Feb 3 03:16:04 UTC 2006

I believe so - very latest fedora 4 uses it right?

-----Original Message-----
From: Brad Fitzpatrick [mailto:brad at] 
Sent: Thursday, February 02, 2006 8:56 PM
To: Mike Lynn
Cc: memcached at
Subject: Re: Confused on scaling memcached & persistant connections

Connections are really cheap nowadays.  If you're seeing a slowdown
$n connections, you're not using epoll or kqueue it sounds like.  Are
using a modern Linux/FreeBSD?

- Brad

On Thu, 2 Feb 2006, Mike Lynn wrote:

> maybe somone can help me out - but I'm confused on scaling memcached.
> Right now I've got 7 web servers each with memcached on them.  All
> are running apache/php/memcached.   with persistant connections to
> memcached.  Each memcached instance avg 2000 connections on avg - how
> i scale that?   Memcached is set at 10k connections max - but is seems
> to slow down after 3k connections.  Because the php client lib uses
> persistant connections, which is good, it means that each new web
> addes 500 persistant connections to each memcached server - so I've
> the max???  I don't see a really (good way) to do a truly global
> Perhaps a UDP based memcached....?  Thanks for any help in advance..
> mike

More information about the memcached mailing list