Skip to content

Instantly share code, notes, and snippets.

@methane
Created October 28, 2012 09:11
Show Gist options
  • Select an option

  • Save methane/3968110 to your computer and use it in GitHub Desktop.

Select an option

Save methane/3968110 to your computer and use it in GitHub Desktop.
kmemcached vs memcached
#kmemcached
[ec2-user@ip-10-161-30-84 ~]$ ./mcb -cget -t20 -n50000 -p 11212
condition =>
connect to 127.0.0.1 TCP port 11212
command = get
20 thread run
send 50000 command a thread, total 1000000 command
data length = 1024
result =>
interval = 3.765747 [sec]
performance = 265551.574400 [command/sec]
thread info:
ave. = 3.557983[sec], min = 3.244235[sec], max = 3.762831[sec]
#memcached
[ec2-user@ip-10-161-30-84 ~]$ ./mcb -cget -t20 -n50000 -p 11211
condition =>
connect to 127.0.0.1 TCP port 11211
command = get
20 thread run
send 50000 command a thread, total 1000000 command
data length = 1024
result =>
interval = 7.603890 [sec]
performance = 131511.635177 [command/sec]
thread info:
ave. = 7.483616[sec], min = 7.323063[sec], max = 7.600795[sec]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment