Design a Wide-Column Database

0%

Editorial Solution

System requirements

Functional

Capacity estimation

Write and Read Throughput

Storage

API design

Table and Schema Management

Database design

On-Disk Format: SSTables

High-level design

Cluster Topology

Request flows

Write Path

Detailed component design

LSM-Tree Write Path (GATE)

Trade-offs and tech choices

LSM-Tree vs B-Tree

Masterless vs Master-Based Architecture

Failure scenarios and bottlenecks

Node Crash During Write

Future improvements

Auto-Scaling

Tiered Storage

Table of Contents

System requirements

Functional

Capacity estimation

Write and Read Throughput

Storage

API design

Table and Schema Management

Database design

On-Disk Format: SSTables

High-level design

Cluster Topology

Request flows

Write Path

Detailed component design

LSM-Tree Write Path (GATE)

Trade-offs and tech choices

LSM-Tree vs B-Tree

Masterless vs Master-Based Architecture

Failure scenarios and bottlenecks

Node Crash During Write

Future improvements

Auto-Scaling

Tiered Storage

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

Write and Read Throughput

Storage

API design

Table and Schema Management

Database design

On-Disk Format: SSTables

High-level design

Cluster Topology

Request flows

Write Path

Detailed component design

LSM-Tree Write Path (GATE)

Trade-offs and tech choices

LSM-Tree vs B-Tree

Masterless vs Master-Based Architecture

Failure scenarios and bottlenecks

Node Crash During Write

Future improvements

Auto-Scaling

Tiered Storage

Table of Contents

System requirements

Functional

Capacity estimation

Write and Read Throughput

Storage

API design

Table and Schema Management

Database design

On-Disk Format: SSTables

High-level design

Cluster Topology

Request flows

Write Path

Detailed component design

LSM-Tree Write Path (GATE)

Trade-offs and tech choices

LSM-Tree vs B-Tree

Masterless vs Master-Based Architecture

Failure scenarios and bottlenecks

Node Crash During Write

Future improvements

Auto-Scaling

Tiered Storage