Observability System Design
Internal mechanics of custom distributed observability services: ingestion, storage, query, control plane, and platform services, taught at petabyte scale.
10 concepts, ordered as a guided path. Start at the top and follow the thread.
Track 1 Ingestion
High-throughput telemetry intake: backpressure, buffering, rate limiting, and noisy-tenant isolation.
Track 2 Storage
Compressed, immutable storage for metrics, logs, and traces: WAL, columnar blocks, and index sharding.
- 2 Time-Series Database Internals expert TSDB storage: delta-of-delta and XOR compression, WAL, object-storage block flushes, compaction, and cardinality-sharded inverted indexes.
- 3 Distributed Log Aggregation expert A log engine with label-driven ingestion, chunk streaming, and decoupled read and write paths.
- 4 Distributed Tracing Engine expert A trace store with head and tail sampling, a Parquet columnar schema, Bloom-filter trace lookup, and TraceQL planning.
Track 3 Query
Parallel query execution: splitting, pushdown, streaming results, and OOM mitigation.
Track 4 Control Plane
Acting on telemetry: rule evaluation, real-time views, and global synthetic probing.
- 7 Alerting and Rule Evaluation Engine expert Continuous rule evaluation over a consistent hash ring with grouped evaluation loops and distributed deduplication.
- 8 Global Synthetic Monitoring Infrastructure expert Worldwide probe orchestration, network-partition resilience, and real-time SLA/SLO aggregation.
Track 5 Platform
Cross-cutting services every stage depends on: authorization/RBAC and rate limiting.
- 9 Multi-Tenant Authz and RBAC Service expert Sub-millisecond authorization with hierarchical permission caching and gossip-spread eventual consistency.
- 10 Distributed Rate Limiter and Concurrency Controller expert Token and leaky bucket limits across a Redis cluster with race-free state synchronization.