Exploring Amazon Prime Video’s Architecture: Migrating from Microservices to Monolith for Audio/Video Monitoring Service

Anshita Bhasin
7 min readMay 14, 2023

Amazon Prime Video is one of the world’s largest streaming services, serving millions of customers across the globe. To provide a seamless viewing experience to its users, the company has set up a tool to monitor every stream viewed by customers which analyzes the quality of audio and video streams in real-time which was built on Microservice infrastructure but as the number of streams on the platform increased, this infra faced scaling bottlenecks and turned out to be very expensive.

In this blog post, I will discuss how Prime Video moved from distributed Microservices to a Monolith application and how it helped in scaling and reducing costs.

Before diving deep into the topic, let’s understand the basic terminologies which will be used in the blog.

Monolith:

A software architecture where all a service's components are bundled into a single codebase. This approach is simpler to develop and deploy but can become difficult to maintain and scale as the application grows.

Let’s understand with examples:

Example1: Consider a restaurant that offers dine-in, take-out, and delivery services. A Monolith architecture would be…

--

--

Anshita Bhasin

QA Chapter Lead at Proptech company in Dubai.. Here to share and learn new things! Youtube => ABAutomationHub