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

Improve Websocket proxy performance #296

Open
JohnXLivingston opened this issue Jan 24, 2024 · 1 comment
Open

Improve Websocket proxy performance #296

JohnXLivingston opened this issue Jan 24, 2024 · 1 comment

Comments

@JohnXLivingston
Copy link
Owner

To proxify Websocket and BOSH request to the Prosody server, Peertube uses (http-proxy).
This package has a lot of unecessary options and code.

We could maybe improve performances by writing the proxy code directly in the plugin.

See this test run: the CPU load on Peertube can raise to 25% in this test scenario.

@JohnXLivingston
Copy link
Owner Author

Looking at the http-proxy, not sure it is really possible to optimize. So low priority for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant