Software
Posts in this category
Posts
-
TCP from the Wire: Reading a Real Handshake
A tcpdump capture of one HTTP request over loopback, packet by packet: the three-way handshake, sequence numbers, window scaling, teardown, and where flow and congestion control fit in.
-
Twelve-Factor on a Single VM
Running a real application on one virtual machine with Docker Compose, environment-based config, log streams, automatic TLS and tested backups, without pretending it is a cluster.
-
CI for a Static Site: What This Repository Actually Runs
The four GitHub Actions workflows behind this site and the six they replaced, read from the YAML, plus the concurrency, pinning and permission habits worth adding to any static-site pipeline.
-
A Performance Budget for This Very Site
What it took to halve the same-origin CSS and JavaScript on every page of this Jekyll site, with the before-and-after bytes and the check that keeps it that way.
-
Reliable Background Jobs with Nothing but PostgreSQL
A job queue built on FOR UPDATE SKIP LOCKED, visibility timeouts, retries with jittered backoff and idempotent handlers, with the SQL and a Python worker.
-
A Pragmatic REST API, Decision by Decision
Resource naming, versioning, cursor pagination, idempotency keys, RFC 9457 errors and rate-limit headers, with the measurements and the OpenAPI to back them up.
-
Ports and Adapters in a Go Service
A hexagonal layout for a small Go service, with interfaces at the boundary and a core you can test without a database.
-
Designing a URL Shortener, Properly
Requirements, back-of-the-envelope capacity numbers, the data model, base62 versus hashing for IDs, and what to do when one link goes viral.