// Articles

Guides and deep dives

Guides, tutorials, and comparisons to help you build better backend applications.

Filter by category: All (696)
How to Use AWS SQS with Node.js in 2026: Send, Receive and Dead-Letter Queues

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.

6 Min Read
Node.js Unit Testing in 2026: node:test, Vitest and Jest, With a Real Database

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.

7 Min Read
Go Backend Boilerplate in 2026: What a Starter Needs and How to Get One

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.

6 Min Read
Database Connection Pooling: How to Size and Run Postgres Pools in 2026

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.

7 Min Read
How to Implement Server-Sent Events (SSE) in Go

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.

6 Min Read
Works on My Machine: Why Backends Break Between Laptop and Cloud

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.

6 Min Read
IaC Security: How to Secure Infrastructure as Code in 2026

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.

7 Min Read
Terraform Best Practices in 2026: State, Modules, Environments and CI

The practices that keep a Terraform codebase safe to change, and where application teams can skip Terraform for the infrastructure their services use.

7 Min Read
What Is Google Cloud Run? How It Works and When to Use It

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.

6 Min Read
SSE vs WebSockets: Which One Should Your Backend Use

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.

6 Min Read
The Saga Pattern in Microservices: Orchestration, Choreography and Compensation

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.

8 Min Read
Replit Alternatives in 2026: Where to Build and Run an AI-Built App

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.

6 Min Read