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

Tune websocket performance #1177

Merged

Conversation

lassepe
Copy link
Contributor

@lassepe lassepe commented May 10, 2024

This PR tunes the performance of websockets by defaulting to TCP_NODELAY and TCP_QUICKACK.

Resolves #1140
Resolves #1124

@lassepe
Copy link
Contributor Author

lassepe commented May 10, 2024

@quinnj I am not sure i there is a better place to apply this fix. It feels a bit arbitrary to do this in the upgrade function. Alternatively, we could move this into the constructor of the websocket or maybe you even have suggestions for a "higher-up" place?

@quinnj
Copy link
Member

quinnj commented May 10, 2024

Thanks @lassepe! LGTM

@quinnj quinnj merged commit 0a0acc8 into JuliaWeb:master May 10, 2024
10 checks passed
@lassepe lassepe deleted the feature/websocket_performance_tuning branch May 10, 2024 16:08
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.

Websocket performance optimization Make it easy to set TCP_NODELAY and TCP_QUICKACK on client sockets
2 participants