Confused on scaling memcached & persistant connections

Mike Lynn mike at theadmanager.com
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 danga.com] 
Sent: Thursday, February 02, 2006 8:56 PM
To: Mike Lynn
Cc: memcached at lists.danga.com
Subject: Re: Confused on scaling memcached & persistant connections

Connections are really cheap nowadays.  If you're seeing a slowdown
after
$n connections, you're not using epoll or kqueue it sounds like.  Are
you
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
webs
> are running apache/php/memcached.   with persistant connections to
> memcached.  Each memcached instance avg 2000 connections on avg - how
do
> 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
server
> addes 500 persistant connections to each memcached server - so I've
hit
> the max???  I don't see a really (good way) to do a truly global
cache.
> Perhaps a UDP based memcached....?  Thanks for any help in advance..
> mike
>
>




More information about the memcached mailing list