Skip to content

Instantly share code, notes, and snippets.

@dominictarr
Created April 13, 2013 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dominictarr/5378781 to your computer and use it in GitHub Desktop.
Save dominictarr/5378781 to your computer and use it in GitHub Desktop.
what is wrong with this picture?
native : 5ms (20000 ops/s)
rpc
multilevel direct : 21ms (4762 ops/s)
rpc
multilevel network : 27ms (3704 ops/s)
writing "1234567890abcdef" 1000 times
native : 33ms (30303 ops/s)
rpc
multilevel direct : 91ms (10989 ops/s)
rpc
multilevel network : 103ms (9709 ops/s)
writing "1234567890abcdef" 10000 times
native : 260ms (38462 ops/s)
rpc
multilevel direct : 1036ms (9653 ops/s)
rpc
multilevel network : 851ms (11751 ops/s)
writing "1234567890abcdef" 100000 times
native : 3404ms (29377 ops/s)
rpc
multilevel direct : 16754ms (5969 ops/s)
rpc
multilevel network : 160302ms (624 ops/s)
@dominictarr
Copy link
Author

OPS/S is INVERSELY PROPORTIONAL to N!

@dominictarr
Copy link
Author

when going over net

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment