Skip to content
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

Enable TCP_NODELAY #181

Closed
wants to merge 1 commit into from
Closed

Enable TCP_NODELAY #181

wants to merge 1 commit into from

Conversation

edsko
Copy link
Collaborator

@edsko edsko commented Jul 4, 2024

This is WIP, because setting TCP_NODELAY should be optional; for now we're just testing if this works at all.

Without TCP_NODELAY:

$ cabal run grapesy-kvstore -- --no-work-simulation
Did 11.433 RPCs/s

with:

$ cabal run grapesy-kvstore -- --no-work-simulation
Did 1778.667 RPCs/s

This is still nowhere near as good as the Java version

$ ./build/install/kvstore/bin/kvstore
Jul 04, 2024 11:44:24 AM io.grpc.examples.KvRunner runClient
INFO: Starting
Did 5183.583 RPCs/s

but at least no longer in "something must be badly wrong" territory.

Depends on

@edsko edsko marked this pull request as draft July 4, 2024 10:01
This should be optional; for now we're just testing if this works at all.
@edsko
Copy link
Collaborator Author

edsko commented Jul 10, 2024

Obsoleted by #184 .

@edsko edsko closed this Jul 10, 2024
@edsko edsko deleted the edsko/tcp-nodelay branch July 10, 2024 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant