Open JohnXLivingston opened 5 months ago
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.
Looking at the http-proxy, not sure it is really possible to optimize. So low priority for this issue.
http-proxy
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.