-
Notifications
You must be signed in to change notification settings - Fork 19
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
Test: make all ops asynchronous #14
base: master
Are you sure you want to change the base?
Conversation
This got some dramatic improvement (e.g. 10x on many ops) thoughput improvements. The key idea is that since the client does all the serialization the server can be as async as it wants. So do so. Signed-off-by: Ronald G. Minnich <[email protected]>
Please review this @hagna |
Is there a race condition writing to ToNet from multiple goroutines? |
There probably is, and I don't think we should push this until we have a way to run it all under the race detector. Thanks! |
Here's a patch I applied to make concurrent requests:
Here's what the race detector reported:
That's setting the I think the |
Ron, what's that? |
nothing to worry about (yet) |
If this still results in a 10x improvement, would be worth revisiting it and merging it in. |
This got some dramatic improvement (e.g. 10x on many ops) thoughput improvements.
The key idea is that since the client does all the serialization the server can be as async
as it wants. So do so.
Signed-off-by: Ronald G. Minnich [email protected]