You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You state your library is high performace, but It'd be great if the docs would contain some performance numbers/ benchmarks compared to net/rpc. Especially for different workloads (small requests, large requests with byte slices, ...).
The text was updated successfully, but these errors were encountered:
valyala
changed the title
add benchmarks to docs
add benchmark results to docs
Aug 16, 2015
…nce client and server in these benchmarks run on the same machine instead of network, they cannot expose full potential of automatic message batching employed in gorpc
I'll definitely add real-life benchmark results comparing gorpc to net/rpc (and, probably, other popular rpc implementations) into README.md.
Currently bench_test.go contains benchmarks, which can be used for performance comparisons with certain grain of salt. Here are results from my machine:
These results may be far from real life, since both server and client are running on the same machine during benchmarks. In the real world client and server are usually located on distinct physical machines connected over the network. Gorpc should work faster in the real world, since it:
minimizes the number of send()/recv() syscalls under high load (which, in turn, should minimize the number of network packets required for rpc).
minimizes the amount of data floating over the network between client and server.
You state your library is high performace, but It'd be great if the docs would contain some performance numbers/ benchmarks compared to net/rpc. Especially for different workloads (small requests, large requests with byte slices, ...).
The text was updated successfully, but these errors were encountered: