Low Level Design: Database Index Selection Strategy
4 min read Database indexes dramatically accelerate query performance by providing direct access paths to rows, avoiding full table scans. However, indexes consume […] Read article
// system-design
Distributed systems, scalability, and architecture — from URL shorteners to Netflix-scale streaming, with the tradeoffs interviewers probe.
4 min read Database indexes dramatically accelerate query performance by providing direct access paths to rows, avoiding full table scans. However, indexes consume […] Read article
6 min read The Write-Ahead Log (WAL) is the foundation of database durability and crash recovery. Every change to database state is first Read article
6 min read CRDTs (Conflict-Free Replicated Data Types) are data structures that can be updated independently and concurrently on multiple nodes without coordination, Read article
6 min read OAuth2 is an authorization framework that allows users to grant third-party applications limited access to their accounts without sharing passwords. Read article
4 min read Multi-Version Concurrency Control (MVCC) is the concurrency mechanism used by PostgreSQL, MySQL InnoDB, Oracle, and most modern databases to enable Read article
6 min read GraphQL is a query language for APIs where clients specify exactly the data they need and receive nothing more. Unlike Read article
6 min read WebSocket provides full-duplex, low-latency communication between a browser and server over a single persistent TCP connection. Unlike HTTP polling (client Read article
4 min read Geo-spatial indexing enables efficient queries on geographic data: finding restaurants within 1km, matching drivers to riders within 500m, showing events Read article
6 min read Full-text search finds documents matching natural language queries across large corpora. Unlike exact-match database queries (WHERE name = ‘foo’), full-text Read article
3 min read gRPC is a high-performance RPC framework built on HTTP/2 and Protocol Buffers. It provides strongly-typed service contracts, efficient binary serialization, Read article
5 min read A real-time leaderboard ranks users or entities by a score that updates continuously. The core challenge is serving low-latency rank Read article
5 min read SLIs (Service Level Indicators), SLOs (Service Level Objectives), and error budgets are the quantitative framework for reliability engineering. An SLI Read article
5 min read Feature flags (feature toggles) decouple code deployment from feature release. Code ships to production with a feature disabled; the flag Read article
5 min read Read-heavy systems serve many more reads than writes — often 100:1 or higher ratios. Optimizing for reads requires layered caching, Read article
3 min read Write-heavy systems must sustain high write throughput without overwhelming the storage layer. Techniques include write batching, asynchronous writes, write coalescing, Read article
What's missing, wrong, or worth adding? One line helps.
Sent — thank you. We read every one.