mirror of
https://github.com/livekit/livekit.git
synced 2026-03-30 19:55:41 +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.