// Articles
Guides, tutorials, and comparisons to help you build better backend applications.
Send and consume Amazon SQS messages from Node.js with the AWS SDK v3, get long polling, visibility timeouts and dead-letter queues right, and see how to get the same queue setup from TypeScript declarations, with no polling loop to maintain.
How to write unit tests in Node.js with the built-in test runner, when Vitest or Jest is the better pick, how far mocking should go, and how to test Express routes, and how to test database code against a real Postgres database.
The pieces every Go API starter ends up with, a minimal standard library skeleton you can copy, and a starter that comes with Postgres, tests and deployment to AWS or GCP already wired.
Why Postgres needs pooling, how to size an application pool against max_connections, when to add PgBouncer or RDS Proxy, and the pool mistakes that cause timeouts in production.
Stream events from a Go HTTP handler with the standard library, handle disconnects, heartbeats and reconnects, and run the same handler next to a Postgres database locally and on AWS or GCP.
The usual causes of works-on-my-machine bugs in backend services, the fixes that close each gap, and how to run the same infrastructure locally that production uses.
Where infrastructure as code leaks credentials and misconfigurations, the checks that catch them, and how to shrink what the pipeline and your coding agents can touch.
The practices that keep a Terraform codebase safe to change, and where application teams can skip Terraform for the infrastructure their services use.
Cloud Run runs containers on Google Cloud without a cluster to manage. How services, jobs, concurrency and scaling to zero work, where it gets harder, and how to deploy a backend to it.
How Server-Sent Events and WebSockets differ on direction, reconnects, proxies and scaling, with working TypeScript for both and what changes once the app runs behind a load balancer in AWS or GCP.
How to keep data consistent across services without distributed transactions, with a working Go example that reserves stock, charges a card and rolls back with compensating steps.
Replit bundles an AI agent, an editor, a database and hosting. The alternatives split those pieces differently, and the right one depends on whether you need a prototype or a backend that runs in your own cloud.