Topic domain

Backend Systems

Server-side request handling, state, and messaging.

Articles
80
Clusters
8
Foundational
24
Intermediate
32
Advanced
24

Servers, middleware, and connection lifecycle.

  1. The Accept Loop: From listen() to an Accepted Connection
  2. HTTP/1.1 Message Framing and the Cost of Connection Reuse
  3. Route Matching Precedence and the Cost of Ambiguity
  4. Middleware Composition and Why Order Changes Behaviour
  5. Thread-per-Connection, Event Loops, and the Cost of Blocking
  6. Reading Request Bodies Without Holding Them in Memory
All 10 in this cluster →

REST, RPC, and GraphQL tradeoffs.

  1. Resource Identity and URI Design in REST
  2. Safety and Idempotence in HTTP Method Semantics
  3. RPC Interface Definitions and Wire Framing
  4. Content Negotiation and Representation Formats
  5. Cursor Pagination and the Cost of Deep Offsets
  6. GraphQL Execution: Resolvers, Fan-Out, and Query Cost
All 10 in this cluster →

Caching

10

Invalidation, tiers, and stampedes.

  1. Cache-Aside and Read-Through: Who Owns the Miss
  2. TTL Expiry and the Two Ways an Entry Dies
  3. Why LRU Eviction Needs a Hash Map and a Linked List
  4. Invalidation by Deletion and by Versioned Key
  5. Request Coalescing and Probabilistic Early Expiration
  6. Caching Absence with Negative Entries and Bloom Filters
All 10 in this cluster →

Delivery semantics and consumer groups.

  1. Append-Only Logs and the Queue Abstraction
  2. Delivery Semantics and Where Duplicates Come From
  3. Acknowledgements, Offsets, and Visibility Timeouts
  4. Consumer Groups and Partition Assignment
  5. Producer Batching, Compression, and Acknowledgment Pipelining
  6. Credit-Based Flow Control and Consumer Prefetch Limits
All 10 in this cluster →

Scheduling, idempotency, and retries.

  1. The Job Record State Machine: Enqueue, Claim, and Acknowledge
  2. Visibility Timeouts and Lease Heartbeats in Job Claims
  3. Idempotency at the Effect Boundary, Not the Handler Entry
  4. Retry Ladders and Dead-Letter Promotion for Failed Jobs
  5. Cron Triggers, Misfire Policy, and the Runs That Never Happen
  6. Holding Delayed Jobs: Buckets, Timers, and the Cost of Time-Ordered Scans
All 10 in this cluster →

Statelessness, stickiness, and stores.

  1. How a Session Identifier Binds Requests to Server State
  2. Cookie Scope, Attributes, and Transport Rules
  3. Signed Cookie Tokens and the Limits of Statelessness
  4. Load Balancer Session Affinity and Its Failure Modes
  5. Key Design and Eviction in External Session Stores
  6. Session Fixation, Rotation, and Revocation
All 10 in this cluster →

Timeouts, backpressure, and circuit breaking.

  1. Deadline Propagation and the Shared Request Time Budget
  2. Retry Budgets and the Load Multiplication They Prevent
  3. Queue Time, Service Time, and What a Timeout Measures
  4. Bounded Queues and Load Shedding at the Admission Boundary
  5. Circuit Breaker State Machines and Half-Open Probing
  6. Concurrency Limits Derived from Little's Law
All 10 in this cluster →

Throughput, tail latency, and pools.

  1. Little's Law and the Size of a Request Pool
  2. Head-of-Line Blocking in a Shared Worker Pool
  3. Fan-Out and the Amplification of Tail Latency
  4. Connection Pool Checkout and the Exhaustion Cliff
  5. Queueing Delay and the Cost of Service-Time Variance
  6. Batching and the Amortization of Per-Request Cost
All 10 in this cluster →

All Backend Systems articles