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

Add option to use tcp_nodelay in tentacle, also use the option in integration tests. #934

Merged
merged 4 commits into from
May 21, 2024

Conversation

LukeButters
Copy link
Contributor

@LukeButters LukeButters commented May 16, 2024

Background

Background: https://brooker.co.za/blog/2024/05/09/nagle.html

TLDR; TCP_NODELAY=true results in much faster for RPC performance in linux. TCP_NODELAY disables a TCP setting that makes sense when humans type characters into telnet (buffer the chars before sending because humans are slow) but less sense in halibut since when we send a thing we actually would like it to go over the wire now.

This PR adds an option to use: OctopusDeploy/Halibut#610

Additionally TCP_NODELAY is used by default in tests.

[SC-76274]

How to review this PR

Quality ✔️

Pre-requisites

  • I have read How we use GitHub Issues for help deciding when and where it's appropriate to make an issue.
  • I have considered informing or consulting the right people, according to the ownership map.
  • I have considered appropriate testing for my change.

@LukeButters LukeButters changed the base branch from main to luke/tests-use-single-halibut-limits-config May 16, 2024 05:30
@LukeButters LukeButters force-pushed the luke/add-option-to-use-tcpnodelay branch from b512fdd to 62484b9 Compare May 16, 2024 05:32
Base automatically changed from luke/tests-use-single-halibut-limits-config to main May 17, 2024 04:40
@LukeButters LukeButters force-pushed the luke/add-option-to-use-tcpnodelay branch from 97310e9 to fa9a600 Compare May 20, 2024 04:17
@LukeButters LukeButters marked this pull request as ready for review May 21, 2024 06:09
@LukeButters LukeButters requested a review from a team as a code owner May 21, 2024 06:09
@LukeButters LukeButters changed the title Luke/add option to use tcpnodelay add option to use tcp_nodelay in tentacle, also use the option in integration tests. May 21, 2024
@LukeButters LukeButters changed the title add option to use tcp_nodelay in tentacle, also use the option in integration tests. Add option to use tcp_nodelay in tentacle, also use the option in integration tests. May 21, 2024
@LukeButters LukeButters enabled auto-merge (squash) May 21, 2024 07:07
Copy link
Contributor

@sburmanoctopus sburmanoctopus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LukeButters LukeButters merged commit f75263d into main May 21, 2024
55 checks passed
@LukeButters LukeButters deleted the luke/add-option-to-use-tcpnodelay branch May 21, 2024 07:15
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.

None yet

2 participants