Testing with multiple connections

Dustin Sallings dustin at spy.net
Thu Apr 5 07:43:35 UTC 2007


	I ran some concurrent tests with varying levels of connections per  
destination server.

	My test is basically a loop of 10,000 of these to two servers (over  
100Mbps ethernet from a core duo machine):

	client.add("test1", 60, new byte[64]);
	client.add("test2", 60, new byte[64]);
	client.add("test3", 60, new byte[64]);
	client.add("test4", 60, new byte[64]);
	client.get("test1");
	client.get("test2");
	client.get("test3");
	client.get("test4");
	client.getBulk("test1", "test2", "test3", "test4");


	I don't notice any real difference with 1, 2, or 5 connections  
between 1 and 95 threads.  5 connections per server was a little  
slower (sometimes up to 2x).

	Has anyone put together a decent load test plan I could apply?

-- 
Dustin Sallings




More information about the memcached mailing list