Topic 03 / 08 · 03 articles

Backend Systems

About this topic

117 words

Backend systems fail in boring, repeatable ways: a message is delivered twice, a retry charges a customer again, a third-party API rate-limits you at the worst possible moment. The fixes are rarely clever — they are disciplined.

Here I write about the patterns that make services correct under real-world conditions: idempotent consumers for at-least-once queues, dead-letter topics as a safety net, protecting paid upstream APIs with validation, caching and locks, and using one schema to drive validation, types and API documentation at the same time.

The examples are in TypeScript on Node.js, usually with Fastify and Google Cloud Pub/Sub, but each article explains the underlying idea first so you can apply it in whatever stack you run.

01Start here

02All articles in Backend Systems