Low Level Design: Do-Not-Disturb Service
What Is a Do-Not-Disturb Service? A Do-Not-Disturb (DND) Service suppresses or delays outbound notifications during time windows that a user […]
What Is a Do-Not-Disturb Service? A Do-Not-Disturb (DND) Service suppresses or delays outbound notifications during time windows that a user […]
What Is a Geospatial Index Service? A Geospatial Index Service stores, indexes, and queries geographic coordinates at scale. It powers
What Is an Identity Service? An Identity Service handles authentication and authorization: it answers the questions “who are you?” (authn)
What Is a Metrics Aggregation Service? A metrics aggregation service collects raw telemetry data (counters, gauges, histograms) emitted by application
What Is an On-Call Management Service? An on-call management service determines which engineer is responsible for responding to an alert
What Is a Billing System? A billing system manages the full revenue lifecycle: creating subscription plans, tracking usage, generating invoices,
What Is Content-Based Filtering? Content-based filtering recommends items similar to those a user has already engaged with, based on the
What Is an Image Processing Service? An image processing service accepts raw image uploads, applies a configurable set of transformations
What Is a Thumbnail Generator Service? A thumbnail generator service automatically produces small preview images from source assets — videos,
What Is a Distributed Transaction Manager? A Distributed Transaction Manager (DTM) coordinates operations that span multiple databases, services, or nodes
Core Functions A reverse proxy sits between clients and upstream servers, providing: TLS termination, request routing, upstream connection pooling, response
P2P Architecture Types Two main architectures: unstructured (Gnutella) uses flood queries to locate content; structured (Kademlia DHT) provides O(log N)
Column Storage Basics In a column store, each column is stored separately on disk. This enables: Reading only the columns
Consensus Protocol Service: Raft Raft is a consensus algorithm designed to be understandable. It decomposes consensus into relatively independent subproblems:
Vector Clock Service Vector clocks track causality in distributed systems without requiring synchronized physical clocks. Each node maintains a vector