Optimize chunk sending/encoding to do work in batches #17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Right now there's only one encoding thread per chunk, which is a bit lame for performance. Additionally, the WebSocket thread has to send in requests for chunks one by one, which is also lame for performance.
Instead we should request as much work as possible, and then the encoder should distribute that work to multiple threads.