Going beyond a single-core
The text discusses the process of optimizing a WebRTC server to handle more participants in a video call. Initially, the server could only support around 200 participants before performance degraded due to the high number of subscribers and publishers. To improve this, various methods were tested including using worker pools, goroutines, and load balancing techniques. The final implementation combined the serial method for less than 5 down tracks and a load-balanced method beyond that threshold. This approach allowed the server to handle up to 1600 down tracks from the previous 400–500 participants.
Company
LiveKit
Date published
July 21, 2021
Author(s)
David Colburn
Word count
1473
Language
English
Hacker News points
None found.