HAProxyConf 2022 Presentation

Scaling Bedrock Video Delivery to 50 Million Users with HAProxy

BedRock Logo
Vincent Gallissot
BedRock

Bedrock migrated its video delivery to the cloud. Very quickly, we needed to add a cache layer to absorb the load. AWS load balancers do not allow for advanced load balancing algorithms, such as consistent hashing, so we decided to use HAProxy. Thanks to the HAProxy Runtime API, we developed a tool in Python that allows us to synchronize the AWS AutoScalingGroup with HAProxy. In the end, we scale our load balancers as well as our applications, while optimizing the cache. We also improved our resilience, using among other things HAProxy’s retry and redispatch to bypass the network limitations of AWS EC2 instances. During this presentation, I will describe the different versions deployed since the beginning of this cloud migration and their evolution until today. I will detail the significance of each element of our configuration, which allows Bedrock to provide videos to more than 45 million people, by explaining the gains in performance, or resilience.

Slide Deck

Here you can view the slides used in this presentation if you’d like a quick overview of what was shown during the talk.

BedRock Logo
Vincent Gallissot Lead Cloud Architect, BedRock
Vincent is a network and system administrator. He leads the Bedrock Streaming Cloud Architects team, which takes care of all the core infrastructure needed for the six streaming platforms managed by Bedrock, used by 45 million users in five European countries.

Organizations rapidly deploy HAProxy products to deliver websites and applications with the utmost performance, observability and security at any scale and in any environment. Looking for more stories?

Explore All User Spotlights