Flashcard Decks

Flip-card study decks for distributed systems patterns, observability, and system design. Progress is saved per deck in your browser.

9 decks · 152 cards

# Patterns

3 decks

# System Design

6 decks

Head vs. Tail Sampling for Distributed Traces

10 cards

The sampling decision point determines whether a trace pipeline needs to buffer spans in memory — head-based decides at trace start, tail-based decides after the trace completes.

system-designobservabilitytelemetrymaang-prepsampling

Rate Limiting Architecture: Token Bucket, Gossip, and Envoy

14 cards

Three ways to enforce rate limits across a replicated gateway fleet — centralized Redis token bucket, decentralized gossip-based estimation, and Envoy's sidecar-plus-global-service pattern — and their precision/SPOF/latency trade-offs.

system-designobservabilitytelemetrymaang-preprate-limiting

Retry Policies and the Delivery Semantics They Produce

15 cards

Every retry decision is made along three axes — trigger, backoff, budget — before delivery semantics even enter the picture. At-least-once, at-most-once, and exactly-once are the accumulated side effect of those decisions, not a separate design choice.

system-designobservabilitytelemetrymaang-prepretry-policieskafka

Telemetry Gateways: Protocol-Specific Ingestion Points

12 cards

The ten protocol-specific gateways in the ingestion frontier — what each accepts, from whom, and when to use it.

system-designobservabilitytelemetrymaang-prepgateways

Telemetry Ingestion Pipeline: Core Architecture

30 cards

High-level design of a MAANG-scale telemetry ingestion pipeline — layers, durability boundary, cardinality enforcement, temporality, multi-tenancy, data tiering, and global topology.

system-designobservabilitytelemetrymaang-prep

Telemetry Pipeline: MAANG Practice Scenarios

24 cards

Twelve principal/staff-level system design scenarios on the telemetry ingestion pipeline — the core diagnosis, redesign, or trade-off decision behind each answer.

system-designobservabilitytelemetrymaang-preppractice-q