> Hi, > I am trying to do some scalability analysis (scaling the number of clients) > for Memcached. > Is there any available benchmark for such experiments ? > > Also, I am curious to know about the number of clients that a memcached > server can service in a typical deployment. > By default, the number of connections is 1K. I was wondering how this will be > in a real world deployment scenario. > > Any insights/suggestions will be of great help.
How many do you want it to run? After a point you have to start tuning your OS kernel to reserve less RAM per TCP connection, but it'll scale to a great many (30,000+) pretty well. The default is 1k because it's based off of the default file descriptor limit in linux-land, which is 1024.