mirror of
https://github.com/livekit/livekit.git
synced 2026-08-19 19:09:44 +00:00
Improve scalability by batching subscriber updates on an interval. When lots of subscribers join, the server ends up spending 20% CPU sending each state change to everyone. There's a non-trivial amount of overhead with each send operation. For publishers, updates are sent right away.