sys-d
// distributed systems lab
Fixed Window CounterSliding Window LogSliding Window CounterToken BucketLeaky Bucket
Circuit BreakerRetry with BackoffTimeout WrapperBulkheadHedged RequestsFallback Strategy
LRU CacheLFU CacheTTL CacheCache AsideWrite-Through/BackCache StampedeBloom Filter
Round RobinWeighted Round RobinLeast ConnectionsIP HashingConsistent Hashing
In-Memory QueuePub/Sub BrokerAt-Most-OnceAt-Least-OnceDead Letter QueueConsumer GroupsPartitioned Log
Distributed LockLeader ElectionHeartbeat MonitorService RegistryService Discovery
Primary-ReplicaRead/Write QuorumVector ClocksCRDT Counters
Two Phase CommitThree Phase CommitSimplified Raft
Key-Value StoreAppend-Only LogWrite Ahead LogSSTableLSM Tree
Metrics CollectorHistogramStructured LoggerTrace ID Propagation
JWT ValidationAPI Key ValidationIdempotency KeyHMAC Verification
v1.0 · MIT
observability

Observability Tools

Instruments for understanding what your distributed system is doing at runtime.

// concept

Observability = Metrics + Logs + Traces. Together they provide visibility into system behavior, enabling debugging, alerting, and capacity planning.

Metrics Collector

Collect counters, gauges, and rates from your services. Aggregate and expose for monitoring dashboards.

Histogram

Track value distributions with configurable buckets. Compute percentiles (p50, p95, p99) from observations.

Structured Logger

Emit JSON log lines with consistent fields. Enables machine-parseable, searchable, and filterable logs.

Trace ID Propagation

Propagate a unique trace ID across service boundaries. Correlate logs and spans for distributed tracing.