Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

ZooKeeper libeatmydata benchmarks

By: a guest on Nov 21st, 2012  |  syntax: None  |  size: 1.71 KB  |  views: 64  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Standard operation, ZooKeeper in standalone mode. Low results are due to poor IO and synchronous.
  2.  
  3. Connecting to localhost:2181
  4. Connected in 32 ms, handle is 0
  5. Testing latencies on server localhost:2181 using syncronous calls
  6. created     100 permanent znodes  in   3240 ms (32.400360 ms/op 30.863854/sec)
  7. set         100           znodes  in   3140 ms (31.401310 ms/op 31.845805/sec)
  8. get         100           znodes  in     12 ms (0.120490 ms/op 8299.471674/sec)
  9. deleted     100 permanent znodes  in   3097 ms (30.978870 ms/op 32.280067/sec)
  10. created     100 ephemeral znodes  in   3150 ms (31.501360 ms/op 31.744661/sec)
  11. watched     100           znodes  in      8 ms (0.088539 ms/op 11294.442051/sec)
  12. deleted     100 ephemeral znodes  in   3201 ms (32.013500 ms/op 31.236822/sec)
  13. notif       100           watches in   1001 ms (10.010650 ms/op 99.893612/sec)
  14.  
  15.  
  16. With ZooKeeper running using libeatmydata (ie. FSyncs are no-ops).
  17.  
  18. Connecting to localhost:2181
  19. Connected in 4 ms, handle is 0
  20. Testing latencies on server localhost:2181 using syncronous calls
  21. created   10000 permanent znodes  in   1730 ms (0.173066 ms/op 5778.139387/sec)
  22. set       10000           znodes  in   1109 ms (0.110961 ms/op 9012.159302/sec)
  23. get       10000           znodes  in    744 ms (0.074433 ms/op 13434.958406/sec)
  24. deleted   10000 permanent znodes  in    979 ms (0.097926 ms/op 10211.773024/sec)
  25. created   10000 ephemeral znodes  in   1141 ms (0.114157 ms/op 8759.879735/sec)
  26. watched   10000           znodes  in    758 ms (0.075869 ms/op 13180.645025/sec)
  27. deleted   10000 ephemeral znodes  in   1225 ms (0.122575 ms/op 8158.297626/sec)
  28. notif     10000           watches in   1001 ms (0.100108 ms/op 9989.199395/sec)