// Articles
Guides, tutorials, and comparisons to help you build better backend applications.
What Amazon ECS Express Mode creates, how to deploy a Node.js API with it step by step, what it leaves for you to set up, and when another option fits better.
What Terraform CLI workspaces are, how state is stored per workspace, how to vary configuration with terraform.workspace, why HashiCorp warns against using them to separate production, and the alternatives.
Designing the backend behind usage-based pricing: idempotent event ingestion, hourly rollups that handle late events, reporting usage to Stripe meters exactly once, and what customers see on their usage page.
How Amazon S3 and Amazon EFS differ in access model, consistency, latency and cost, which workloads need a POSIX file system, and which are better as objects behind an API.
How to let browsers upload to and download from a private bucket without streaming files through your API, how to limit size and type, and how to scope URLs to the user who asked for them.
How a Redis lock works with SET NX PX, why release needs a token check, what Redlock does and does not fix, and how fencing tokens in Postgres keep a lost lock from corrupting data.
What Amazon RDS for PostgreSQL does for you, what you take on when you run Postgres on EC2 yourself, and when each one is the right call.
How LISTEN and NOTIFY work in Postgres, what they guarantee and what they drop, a trigger that announces row changes, listeners in Go and Node.js, and when to move the events to a durable Pub/Sub topic.
How to run Node.js and TypeScript integration tests against a real Postgres instead of mocks, keep tests isolated when files run in parallel, apply migrations once, and run the same suite in CI.
Ingest device readings once, open an alert when a reading crosses the clinician's thresholds, escalate unacknowledged alerts, and count monitoring days in the patient's time zone.
Push live order updates to browsers from a Go backend with coder/websocket or gorilla/websocket, including origin checks, cookie auth, pings, slow-client handling and fan-out across more than one instance.
How HTTP middleware works in Go, how to write request ID, logging and panic recovery middleware for net/http, in which order to chain them, and how Encore middleware targets endpoints by tag and reads auth data.