$ Your App Works. Can You Restart It Safely?
Starting a server is usually one command. Stopping it safely is a protocol. A deployment can arrive while one request is writing to the database, another is uploading a file, and…
Starting a server is usually one command. Stopping it safely is a protocol. A deployment can arrive while one request is writing to the database, another is uploading a file, and…
Before adding a cache lookup to every handler, check what the HTTP response already tells browsers and intermediaries to do. A public article might be downloaded thousands of…
A webhook looks like the simplest integration in the world: someone sends a POST request to your application, you update a record, and you return 200. Then the same event arrives…
Tell someone you're building a monolith and they may imagine a giant application where every module imports every other module, every table is public property, and changing a…
You click Submit. The spinner runs for ten seconds. Then the application says something went wrong and invites you to try again. That message sounds reasonable. But what went…
REST is not a protocol. It's not a standard. It's not even a specification. It's a set of architectural constraints described in a PhD dissertation from 2000 — and somewhere along…
What Even Is REST? (And Why Most APIs Calling Themselves RESTful Aren't) I've been building APIs for a while now, and I still occasionally catch myself questioning whether…
Why SQLite Is Better Than Its “Toy Database” Reputation SQLite is easy to underestimate. There’s no database server to install, no port to expose, and no separate service to…