THE CHALLENGE
Managing global recommendations at scale
As a global leader in premium TV streaming services, Warner Bros. Discovery (WBD) aims to deliver a flawless, personalized experience to the 128 million subscribers that use its HBO Max platform.
WBD needs to process immense volumes of user and content data across 155 territories and 15 distinct device types, with users typically maintaining between three and five individual profiles per account.
“We handle content for users of iPhones, Android phones, Apple TV, Xbox, PlayStation, whatever,” explained Mohammed Bakri, Senior Engineering Manager at Warner Bros. Discovery. “Overall, we manage between five and seven terabytes of active data every single day.”
Delivering timely, highly personalized push notifications to HBO Max subscribers involves capturing viewership insights and marrying them with live content updates on a 24/7 rolling basis. Critically, HBO Max needs to do this at times when viewers are most likely to be receptive to the content delivered.
“We’re not here to spam users,” said Bakri. “We are really keen to discover and act on what really matters for them.”
WBD initially chose DocumentDB for the infrastructure that handles these push notifications. It worked well on a small scale, but as HBO Max expanded, Bakri’s team began to suffer from severe scalability constraints and rigid operating models.
“Pricing was also a pain point,” said Bakri. “A single region can have millions of read-write operations each day, so a standard pay-as-you-go model wasn’t for us.”
To further complicate matters, the metadata associated with streaming content changes daily; new attributes and fields are constantly introduced, making traditional SQL schemas and rigid data architectures impossible to maintain. WBD needed a highly scalable, flexible, and cost-effective database that could keep up with its ambitious demands.
“We were growing and needed to scale,” Bakri added. “We also needed managed scaling at the storage and cluster levels. And the more our data grew, the more power we needed. That wasn’t easy.”

