Design a Video View Count System

0%

Editorial Solution

System requirements

Functional

Capacity estimation

Traffic

API design

View Recording

Database design

DynamoDB / Cassandra: Primary Counter Store

High-level design

Write Path

Request flows

View Ingestion Flow

Detailed component design

Batch Aggregation Pipeline

Tradeoffs

Real-Time Exact Counts vs. Batched Approximate Counts

Failure scenarios

Consumer Crash During Batch Processing

Future improvements

Real-Time Analytics Dashboard

Table of Contents

System requirements

Functional

Capacity estimation

Traffic

API design

View Recording

Database design

DynamoDB / Cassandra: Primary Counter Store

High-level design

Write Path

Request flows

View Ingestion Flow

Detailed component design

Batch Aggregation Pipeline

Tradeoffs

Real-Time Exact Counts vs. Batched Approximate Counts

Failure scenarios

Consumer Crash During Batch Processing

Future improvements

Real-Time Analytics Dashboard

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock
Try this problem yourself

Reading a solution is not the same as producing one under interview pressure. Design it on the whiteboard and get scored feedback.


Markdown supported

0%

Editorial Solution

System requirements

Functional

Capacity estimation

Traffic

API design

View Recording

Database design

DynamoDB / Cassandra: Primary Counter Store

High-level design

Write Path

Request flows

View Ingestion Flow

Detailed component design

Batch Aggregation Pipeline

Tradeoffs

Real-Time Exact Counts vs. Batched Approximate Counts

Failure scenarios

Consumer Crash During Batch Processing

Future improvements

Real-Time Analytics Dashboard

Table of Contents

System requirements

Functional

Capacity estimation

Traffic

API design

View Recording

Database design

DynamoDB / Cassandra: Primary Counter Store

High-level design

Write Path

Request flows

View Ingestion Flow

Detailed component design

Batch Aggregation Pipeline

Tradeoffs

Real-Time Exact Counts vs. Batched Approximate Counts

Failure scenarios

Consumer Crash During Batch Processing

Future improvements

Real-Time Analytics Dashboard