Topics / Backend Engineering

Backend Engineering

Services, queues, pools and the failure modes between them — written for engineers who carry the pager.

Start here

Idempotency Keys for Payment-Style APIs

Build retry-safe POST endpoints with stable operation identity, atomic writes, replay rules and recovery after ambiguous timeouts.

2 minAdvanced

All Backend Engineering writing · 6

Backend EngineeringGuide

Idempotency Keys for Payment-Style APIs

Build retry-safe POST endpoints with stable operation identity, atomic writes, replay rules and recovery after ambiguous timeouts.

2 minAdvanced

Backend Engineering

Postgres as a Job Queue with SKIP LOCKED

An honest PostgreSQL job queue design: atomic claims, leases, fencing, retries, dead letters, and the limits of SKIP LOCKED.

2 minAdvanced

Backend EngineeringGuide

Cache Invalidation for Real Web Applications

Choose keys, freshness windows, HTTP headers and failure fallbacks without leaking private data or causing cache stampedes.

2 minIntermediate

Backend EngineeringGuide

Distributed API Rate Limiting with Token Buckets

Select the right identity and budget, enforce atomic token accounting, and choose failure behavior by endpoint risk.

2 minIntermediate