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

ZooKeeper Ramdisk benchmarks

By: a guest on Nov 21st, 2012  |  syntax: None  |  size: 1.62 KB  |  views: 86  |  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 ZooKeeper, standalone mode.
  2.  
  3. Connecting to localhost:2181
  4. Connected in 114 ms, handle is 0
  5. Testing latencies on server localhost:2181 using syncronous calls
  6. created     100 permanent znodes  in    898 ms (8.983710 ms/op 111.312589/sec)
  7. set         100           znodes  in    883 ms (8.832879 ms/op 113.213369/sec)
  8. get         100           znodes  in     23 ms (0.238380 ms/op 4194.975196/sec)
  9. deleted     100 permanent znodes  in    884 ms (8.844261 ms/op 113.067670/sec)
  10. created     100 ephemeral znodes  in    900 ms (9.000032 ms/op 111.110717/sec)
  11. watched     100           znodes  in     24 ms (0.244322 ms/op 4092.962255/sec)
  12. deleted     100 ephemeral znodes  in    875 ms (8.755250 ms/op 114.217184/sec)
  13. notif       100           watches in      0 ms (included in prior)
  14. Latency test complete
  15.  
  16. With a RAM disk:
  17.  
  18. Connecting to localhost:2181
  19. Connected in 3 ms, handle is 0
  20. Testing latencies on server localhost:2181 using syncronous calls
  21. created     100 permanent znodes  in      9 ms (0.094061 ms/op 10631.410321/sec)
  22. set         100           znodes  in      7 ms (0.071249 ms/op 14035.283095/sec)
  23. get         100           znodes  in      6 ms (0.066681 ms/op 14996.796339/sec)
  24. deleted     100 permanent znodes  in      7 ms (0.075529 ms/op 13240.013889/sec)
  25. created     100 ephemeral znodes  in      8 ms (0.084002 ms/op 11904.475917/sec)
  26. watched     100           znodes  in      6 ms (0.066779 ms/op 14974.843800/sec)
  27. deleted     100 ephemeral znodes  in      8 ms (0.088611 ms/op 11285.325297/sec)
  28. notif       100           watches in      0 ms (included in prior)
  29. Latency test complete