-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add benchmarks #9
Comments
This would indeed be interesting. However, we would need a more elaborate simulation of TCP that takes the latency between two endpoints into account. This is necessary since |
Do you have any comment/opinion about using remoc over Unix Sockets? I can confirm that it works but didn't do any comparison against tcp when it comes to performance |
It should work just fine when you use |
Some recommendations for the buffer size? And as far I understand, for regular tcp port io_buffered is not recommend due network having the own buffers already? |
I would choose the same size as the socket send buffer (readable from
The kernel is buffering TCP data before sending it over the network, however without user space buffering you may have a high overhead of system calls. Thus I am also using |
I think it might be interesting to add benchmarks to get an idea of
remoc
performance and avoid regressions. This could be done with criterion since it supports async benchmarks.Benchmarks could also be made to compare
remoc
to other similar libs liketarpc
and with a raw TCP socket (to get an idea of the performance overhead introduced byremoc
).The text was updated successfully, but these errors were encountered: