Design a Tagging Service

0%

Editorial Solution

System requirements

Functional

Capacity estimation

Traffic

API design

Tag CRUD

Database design

PostgreSQL Schema

High-level design

Components

Request flows

Tag Assignment Flow

Detailed component design

Write-Time Normalization Pipeline

Trade-offs and tech choices

SQL (PostgreSQL) vs NoSQL (Cassandra) for item_tags

Failure scenarios and bottlenecks

Search Index Desync

Future improvements

ML-Based Auto-Tagging

Table of Contents

System requirements

Functional

Capacity estimation

Traffic

API design

Tag CRUD

Database design

PostgreSQL Schema

High-level design

Components

Request flows

Tag Assignment Flow

Detailed component design

Write-Time Normalization Pipeline

Trade-offs and tech choices

SQL (PostgreSQL) vs NoSQL (Cassandra) for item_tags

Failure scenarios and bottlenecks

Search Index Desync

Future improvements

ML-Based Auto-Tagging

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

Tag CRUD

Database design

PostgreSQL Schema

High-level design

Components

Request flows

Tag Assignment Flow

Detailed component design

Write-Time Normalization Pipeline

Trade-offs and tech choices

SQL (PostgreSQL) vs NoSQL (Cassandra) for item_tags

Failure scenarios and bottlenecks

Search Index Desync

Future improvements

ML-Based Auto-Tagging

Table of Contents

System requirements

Functional

Capacity estimation

Traffic

API design

Tag CRUD

Database design

PostgreSQL Schema

High-level design

Components

Request flows

Tag Assignment Flow

Detailed component design

Write-Time Normalization Pipeline

Trade-offs and tech choices

SQL (PostgreSQL) vs NoSQL (Cassandra) for item_tags

Failure scenarios and bottlenecks

Search Index Desync

Future improvements

ML-Based Auto-Tagging