Design an Ad Click Aggregation System

0%

Editorial Solution

System requirements

Functional

Capacity estimation

Click Volume

API design

Click Recording

Database design

Cassandra: Raw Click Event Storage

High-level design

Why Kappa Instead of Lambda

Request flows

Click Ingestion Flow

Detailed component design

Tumbling Windows and Watermarks

Trade offs/Tech choices

Lambda Architecture vs Kappa Architecture

Failure scenarios/bottlenecks

Aggregation Shard Crash

Future improvements

ML-Based Click Fraud Detection

Table of Contents

System requirements

Functional

Capacity estimation

Click Volume

API design

Click Recording

Database design

Cassandra: Raw Click Event Storage

High-level design

Why Kappa Instead of Lambda

Request flows

Click Ingestion Flow

Detailed component design

Tumbling Windows and Watermarks

Trade offs/Tech choices

Lambda Architecture vs Kappa Architecture

Failure scenarios/bottlenecks

Aggregation Shard Crash

Future improvements

ML-Based Click Fraud Detection

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.

Asked in these interview guides

Company guides that list this problem among their sample questions.


Markdown supported

0%

Editorial Solution

System requirements

Functional

Capacity estimation

Click Volume

API design

Click Recording

Database design

Cassandra: Raw Click Event Storage

High-level design

Why Kappa Instead of Lambda

Request flows

Click Ingestion Flow

Detailed component design

Tumbling Windows and Watermarks

Trade offs/Tech choices

Lambda Architecture vs Kappa Architecture

Failure scenarios/bottlenecks

Aggregation Shard Crash

Future improvements

ML-Based Click Fraud Detection

Table of Contents

System requirements

Functional

Capacity estimation

Click Volume

API design

Click Recording

Database design

Cassandra: Raw Click Event Storage

High-level design

Why Kappa Instead of Lambda

Request flows

Click Ingestion Flow

Detailed component design

Tumbling Windows and Watermarks

Trade offs/Tech choices

Lambda Architecture vs Kappa Architecture

Failure scenarios/bottlenecks

Aggregation Shard Crash

Future improvements

ML-Based Click Fraud Detection