Practical limit on number of memcached servers in a single pool?
evert at rooftopsolutions.nl
Tue Oct 24 21:21:08 UTC 2006
For me the number is lower right now..
Apache runs 80 forks, and there are 3 memcache servers, so thats already
Because every server points to each other, that means there's also 240
incoming connections for each server..
Well.. that means I still have 65535-480-1024 = 64031 left..
Jehiah Czebotar wrote:
> On 10/24/06, EKC <webmaster at generalsynthesis.com> wrote:
>> What is the practical limit on the number of servers I can have in a
>> memcached pool?
> Your practial limit is going to be the number of socket connections a
> client (or possibly server) can have open at a time
> I'd guess a client or server could easily have a few thousand
> connections open at a time
> I wrote a pooling wrapper for the python memcache client library so
> my app servers keep about 5 connections open to each server (not that
> I had much of a problem to begin with.. but it seemed the right thing
> to do).
>  http://jehiah.com/download/MemcachePool.py.txt
More information about the memcached