Skip to content

Add TCP_NODELAY option for client - #551

Merged
Eugeny merged 2 commits into
Eugeny:mainfrom
tom-90:main
Aug 1, 2025
Merged

Add TCP_NODELAY option for client#551
Eugeny merged 2 commits into
Eugeny:mainfrom
tom-90:main

Conversation

@tom-90

@tom-90 tom-90 commented Aug 1, 2025

Copy link
Copy Markdown
Contributor

This PR adds a nodelay option to the russh client implementation, similar to a previous PR #435 that did this for the server implementation.

While using Warpgate as a jumphost between my DB server and my local system, I noticed a large performance impact when executing SQL queries sequentially due to high latency. Warpgate was about twice as slow in my test workload, compared to SSH directly to the server. After testing with russh itself, I found that by enabling this option, I could get on par performance with normal SSH.

After the next release of russh happens, I'd like to contribute some changes to Warpgate itself as well, to allow enabling nodelay for it's SSH server- and client-side via the config.

@Eugeny
Eugeny merged commit 43a09c9 into Eugeny:main Aug 1, 2025
@Eugeny

Eugeny commented Aug 1, 2025

Copy link
Copy Markdown
Owner

Thank you!

@Eugeny

Eugeny commented Aug 1, 2025

Copy link
Copy Markdown
Owner

@all-contributors add @tom-90 for code

@allcontributors

Copy link
Copy Markdown
Contributor

@Eugeny

I've put up a pull request to add @tom-90! 🎉

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.

2 participants