The online concert is about to begin—and the app crashes
In the highly competitive streaming market, viewers have countless alternatives. A delay of just a few seconds is enough for them to close the app and switch to another service. This streaming platform offers a wide range of content, from series, films, and variety shows to concerts and live events with hundreds of thousands of simultaneous viewers.
The engineering team had long struggled with app freezes and unexpected disconnects, especially during live broadcasts with high concurrent traffic. The root causes were difficult to identify because they only occurred under specific conditions that could not be reproduced in a lab environment.
Performance issues affected every platform—iOS, Android, Smart TV, and Web. Each came with different constraints: slow load times, frequent buffering, and excessive memory usage on older devices.
Its integration with Brightcove for video management also introduced added complexity, including DRM, Adaptive Bitrate Streaming, and CDN configuration that had to be optimized for users in Thailand and across the region.
Pinpointing every bottleneck
Enersys came in as a technology partner, applying a Performance Engineering approach that began with a comprehensive performance audit across all platforms.
Strengthening the fundamentals first
The team used profiling tools to identify the true bottlenecks, then addressed memory leaks that built up during extended usage, particularly within the video player component. They refined API call patterns to reduce unnecessary requests, implemented an appropriate caching strategy, and improved error handling for unstable network conditions. On the UI side, they introduced lazy loading, virtual scrolling, and image optimization to reduce screen load times.