Category: Backend

Designing Reliable Webhooks

Design webhooks as signed, retrying, observable delivery contracts that both providers and consumers can operate safely.

2026-07-15 · 14 min read

Rate Limiting Algorithms Compared

Compare six rate limiters by boundary behavior, burst fairness, precision, memory, weighted costs, clocks, headers, and deterministic tests.

2026-07-13 · 18 min read

Secure File Upload Pipelines

Treat uploaded files as untrusted byte streams until bounded ingestion, type validation, quarantine, scanning, and authorized publication succeed.

2026-06-18 · 14 min read

Cursor Pagination at Scale

Build cursor pagination from a stable total order, query-bound opaque tokens, matching indexes, and explicit change semantics.

2026-06-06 · 13 min read

Authorization Models: RBAC, ABAC, and ReBAC

Compare RBAC, ABAC, and ReBAC by how they express policy, preserve tenant boundaries, support revocation, and produce testable decisions.

2026-05-25 · 15 min read

Resilient Outbound HTTP Clients

Build outbound HTTP clients that reuse connections, honor one deadline, retry only safe failures, bound responses, and expose useful telemetry.

2026-05-13 · 14 min read

Zero-Downtime Database Migrations

Evolve a live database through expand, migrate, and contract phases with dual compatibility, resumable backfills, lock-aware DDL, and explicit rollback points.

2026-05-01 · 14 min read

Authentication: Sessions, JWT, and OAuth 2.0

Choose sessions, JWTs, and OAuth 2.0 safely with correct cookies, token verification, PKCE, rotation, revocation, and service authentication.

2026-04-23 · 14 min read

Asynchronous APIs for Long-Running Operations

Model long-running API work as a durable operation resource with explicit acceptance, progress, cancellation, results, notifications, and retention.

2026-04-19 · 14 min read

API Error Contracts That Clients Can Actually Use

Design API errors with honest HTTP semantics, stable machine codes, precise field locations, retry guidance, safe localized messages, and compatibility tests.

2026-04-07 · 13 min read

Caching Layers: From HTTP to the Database

Design coherent browser, CDN, application, distributed, query, and database caches without trading speed for stale data or outages.

2025-12-20 · 11 min read