Skip to content

Blog: notes on backend, data and AI

Notes on backend engineering, data and building products with AI.

11 posts · page 1 of 2

#architecture × Clear all filters

RSS feed

November 20, 2026 · 2 min read

Configuration and environments: the twelve-factor way

Keep code identical across environments and put everything that differs in configuration. Environment variables, secrets and parity explained.

architecturedevops

November 20, 2026 · 2 min read

Timeouts, retries and circuit breakers

Calls to other systems fail. Set timeouts, retry with backoff and jitter, and use a circuit breaker so one slow dependency does not take everything down.

architectureresilience

November 20, 2026 · 2 min read

Observability: logs, metrics and traces

Logs tell you what happened, metrics tell you how much, traces tell you where time went. Together they let you debug production without guessing.

architectureobservability

November 20, 2026 · 2 min read

API versioning and backward compatibility

Most API changes can be made without a new version if you only add. Learn which changes break clients, how to version when you must, and how to deprecate.

architectureapi

November 20, 2026 · 2 min read

Feature flags: separating deploying from releasing

A feature flag lets you ship code switched off and turn it on later, for some users first. It makes releases safer, if you clean the flags up.

architecturedeployment

November 20, 2026 · 2 min read

CAP theorem and consistency models in plain words

During a network partition a system must choose between consistency and availability. Strong and eventual consistency explained with simple examples.

architecturedistributed-systems

November 20, 2026 · 2 min read

Rate limiting: fixed window, sliding window and token bucket

Rate limits protect a service from abuse and overload. Compare fixed window, sliding window and token bucket and see how to answer with a 429.

architectureapi

November 20, 2026 · 2 min read

Message queues: delivery guarantees and why consumers must be idempotent

Queues decouple producers from consumers. At-least-once delivery is the common default, so consumers must tolerate duplicates.

architecturemessaging

November 20, 2026 · 2 min read

Caching: patterns, and the hard part, invalidation

A cache trades freshness for speed. Cache-aside, write-through and TTLs cover most needs, and invalidation is where the bugs live.

architecturecaching

November 20, 2026 · 2 min read

Monolith vs microservices: the trade-offs without the hype

A monolith is one deployable unit, microservices are many. Each has costs. Start simple, split along real boundaries when the pain is clear.

architecturemicroservices

Have a project in mind?

Tell me what you are building. I reply by email, usually within two working days.

Start a conversation