Optimize chunk sending/encoding to do work in batches #17
Labels
No labels
bug
c:haku
c:rkgk backend
c:rkgk frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: liquidex/rkgk#17
Loading…
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.