Hi, This is my first post on this mailing list, so please correct me if I am wrong.
>From the memcached wiki :- "On a fast machine with very high speed networking, memcached can easily handle 200,000+ requests per second." I want to do some benchmarking of memcached throughput for my application. Here is what I want :- 1) Store 10K keys in memcached(I want to use only a single server). Each "value" is only an integer(4 bytes only, not more). 2) After the 10K keys have been set. I want to measure the throughput of the following operation :- *multiget:- each multiget consisting of 200 random keys(out of the 10K keys already stored).* Can someone guide me how to do it? Do I need to write a test program or an existing load generator for memcached say memaslap will suffice for the above test? I have a 4 core machine with 16GB RAM and 1Gbps NIC which I can use for memcached and I have multiple machines which I can use as clients for load generation. Basically I am expecting a througput of 80K operations/sec, where OPERATION is what I have described above. Is this througput possible or will I need one more memcached machine?(since each *get* in my case consists of actually getting 100 keys)? Also, how to measure the average latency or each request on such a high load? Can someone point out the caveats or things I should take care of? Additionally I would like to know how the throughput of 200K+ is measured? Is it done using the following :- 1) Memcached receives a request from the socket. 2) Parses the command 3) Does the operation i.e get, set etc (in the hash table) 4) Creates the response 5) Writes it to the socket Please correct me if I am wrong. Thanks a lot for your patience :) Regards kartik -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
