Systems · Architecture · Algorithms

Notes on how software actually works.

I write about distributed systems, AWS architecture, networking, algorithms, and the engineering decisions hidden beneath working software.

From failure modes and trust boundaries to invariants and algorithmic patterns—each article starts with a question worth understanding deeply.

Explore the writing

Latest writing

Who Owns the Deadline in a Chain of Microservice Calls?

Timeouts set independently in each service can keep work running long after the user has given up. This article explains how one end-to-end deadline, passed down the call chain, keeps every service working against the same clock.

  • distributed-systems
  • reliability-engineering
Read article
Analog stopwatch photographed against a black background.

Find a note

Search and browse

18 published articles

Browse by topic

Recent notes

Recent writing

reliability-engineering

When Does Network Redundancy Fail Because the Bottleneck Moved Somewhere Else?

A backup link can fail over perfectly while the system still degrades, because the work it inherits hits a limit somewhere else. This article walks through failure-state capacity, shared failure domains, packet processing, RSS and how to benchmark what happens after a link fails, drawing on a small Raspberry Pi testbed.

cloud-infrastructure

Why Can a “Successful” Kubernetes Rolling Deployment Still Drop Requests?

Kubernetes can report a successful rollout while users see 502s, 503s and connection resets. This article follows one request through Pod termination and covers what has to happen (draining, probes, grace periods, capacity) for a rollout to be zero-downtime in practice.

cloud-infrastructure

What Happens When Serverless Compute Scales Faster Than the System Behind It?

Lambda can add capacity far faster than the databases, caches and third-party APIs behind it. This article covers how to work out how much concurrency the whole request path can take, and the limits, queues and tests that keep elastic compute from overwhelming everything else.

reliability-engineering

Why Can a Healthy Dashboard Hide a Failing Distributed System?

Every component can report healthy while the thing users actually care about is failing. This article covers why that happens (averages, aggregates, retries, queues, HTTP 200s with wrong data) and how to build monitoring around whether the work actually got done.

performance-engineering

Why Doesn’t More Concurrency Mean More Throughput in a Java Service?

Adding threads helps a Java service until CPU, database connections, locks, memory or a downstream dependency becomes the real limit. This article explains why, what virtual threads do and don't change, and how to find a concurrency level that gives useful throughput instead of overload.

databases

Why Can a Cassandra Data Model Work for Months and Then Collapse at the Tail?

A Cassandra schema can look great at launch and degrade slowly as data grows unevenly, deletes pile up and maintenance falls behind. This article explains how partition design ages, why the damage shows up in tail latency first, and how to design for the worst partition rather than the typical one.

distributed-systems

When Do Retries Stop Improving Reliability and Start Amplifying an Outage?

Retries hide brief failures, but every extra attempt is extra load on a system that may already be struggling. This article covers when a retry helps, when it hurts, and the controls (backoff, jitter, deadlines, retry budgets, idempotency) that keep retries safe.

distributed-systems

Where Does Kafka’s “Exactly Once” Guarantee Actually End?

Kafka's exactly-once semantics cover reading, processing and writing inside Kafka, but not the database, payment API or email that an event triggers. This article explains what Kafka guarantees, where that guarantee stops, and how idempotency covers the rest.

Have a question about something I wrote?

Contact