Just like any other component in a server stack, it is important to be able to isolate the performance of each server to granularly test small configuration changes. Apache ships with ab for this purpose. Memcached has the memslap program provided by libMemcached. To run tests, we'll start two small Memcached servers on the local machine -
$ memcached -d -m 256 -p 11211
$ memcached -d -m 256 -p 11212