Active Recall
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 decksFan-Out / Fan-In
15 cardsParallel scatter-gather, deadline propagation, hedged requests, and partial-failure policies.
Fan-Out / Fan-In: MAANG Practice Scenarios
18 cardsNine principal/staff-level scenarios on the fan-out/fan-in pattern — partitioning, hedging trade-offs, cancellation leaks, aggregator complexity, retry storms, backpressure, hierarchical fan-out, and pre-rollout validation.
Fan-Out / Fan-In: Observability KPIs
14 cardsPattern-specific telemetry beyond RED metrics for fan-out/fan-in systems — width, per-shard latency, aggregation cost, partial results, cancellation, and hedging.
# System Design
6 decksHead vs. Tail Sampling for Distributed Traces
10 cardsThe 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.
Rate Limiting Architecture: Token Bucket, Gossip, and Envoy
14 cardsThree 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.
Retry Policies and the Delivery Semantics They Produce
15 cardsEvery 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.
Telemetry Gateways: Protocol-Specific Ingestion Points
12 cardsThe ten protocol-specific gateways in the ingestion frontier — what each accepts, from whom, and when to use it.
Telemetry Ingestion Pipeline: Core Architecture
30 cardsHigh-level design of a MAANG-scale telemetry ingestion pipeline — layers, durability boundary, cardinality enforcement, temporality, multi-tenancy, data tiering, and global topology.
Telemetry Pipeline: MAANG Practice Scenarios
24 cardsTwelve principal/staff-level system design scenarios on the telemetry ingestion pipeline — the core diagnosis, redesign, or trade-off decision behind each answer.
No decks match this tag.