Case Study

DoiT Flexsave™ offers video infrastructure provider Mux the time and cost savings needed to keep the streams flowing

Software, Technology, Video
AWS, EC2, GCE, GKE, Google Cloud

Providing a best-in-class video infrastructure service requires cost optimization measures that had previously been a drain on the team’s productivity.

Consumers expect more and more businesses to have video in their products, and streaming platforms like Netflix and TikTok have set the expectation that those video experiences will be seamless and reliable. But video is complex to build, and even harder to scale and maintain.

Mux is video infrastructure that makes it easy for development teams to build video into their products, and do so quickly, reliably, and at global scale. This lets teams focus on what’s most important: building the things that make their business special, while Mux handles the complexity and tedium of video and analytics infrastructure. With Mux, developers can build the video experiences their audiences want, across every type of video: live, on-demand, and real-time.

The brief

A great deal of Mux’s infrastructure decisions are driven by the cost effectiveness of various services, regions, and workloads within their multicloud (AWS+GCP) environment. Those decisions are largely controlled by their internal platform team, which provides a Kubernetes interface to the rest of their product engineering team, and manages how that Kubernetes layer is positioned on their different cloud providers.

Naturally, budgetary determinations play a large role in how those various teams are able to spin up and manage their workloads. Mux houses a business operations team that centralizes and analyzes their cloud cost data across the multicloud environment, which means that they need a single source of truth to ensure that they have the full view of their overall cloud spend.

However, when it came to optimizing that spend, Mux Co-Founder and Head of Technology Adam Brown needed additional assistance. The team was purchasing Committed Use Discounts for their GCP workloads and Reserved Instances on AWS, but struggling to manage their usage over terms of the commitments. There were occasions when the team decided to change machine types and had to go through the painful process of converting or selling the outdated reservations, or optimizing backend software and subsequently lowering their compute consumption, thus negating the need for the full capacity that they had purchased.

The time and expertise that would have been required for a fully optimized commitment strategy was too much for the growing company to manage on their own. This led to ad-hoc commitment purchases that failed to provide significant savings, while still draining the team of valuable time that could otherwise be spent improving their technology.

What we did

By enabling Flexsave on both their Google Cloud and AWS environments, Mux is now able to enjoy the full benefit of 1-year CUD and Savings Plan discounts, leading to significant cost savings since Q1 2022. The product works alongside the small amount of 3-year commitments that the company still has (thus maximizing their savings) and has eliminated the need for any new commitment purchases.

“We don’t have to worry about perfectly optimizing long-term commitments or ensuring that we fully utilize those commitments.”

This has not only freed up a significant amount of time on the Mux infrastructure team since they no longer have to forecast, track, and manage multiple commitments, but also allows them to effectively optimize their environment without worrying about being overprovisioned afterwards. “We’ve probably reduced our GCP compute utilization by 40 or 50 percent, and had we bought 3-year commits or even 1-year commits, we probably would not be using them effectively. We don’t have to worry about perfectly optimizing long-term commitments or ensuring that we fully utilize those commitments.”

In addition to Flexsave, the aggregate view and analytics provided by the DoiT console is the primary source of information for Mux’s technology and business operations teams. “The data from DoiT is really our key entry point into cloud spend,” says Brown. “We’re using the DoiT API to ingest all of our data from both cloud providers in order to fully understand the spend across cloud providers, as well as how Flexsave is applying it.”

The result

  • 22% savings on Mux’s AWS on-demand EC2 costs
  • 27% savings on Google Cloud on-demand Google Compute Engine workloads
  • Eliminated the need for purchasing new commitments, saving the team countless hours worth of forecasting and provisioning
Adam Brown, Co-Founder and Head of Technology
“Prior to onboarding Flexsave, the challenge of forecasting and tracking is ultimately what kept us from doing commitment management really effectively. We’d get to a place where we wouldn’t even feel confident enough in our own analysis to really take advantage of the commitments. We wanted to focus on building the product and growing quickly, not complex financial analysis.”

Related case studies