// Articles
Guides, tutorials, and comparisons to help you build better backend applications.
Helm charts turn into Go templates over YAML with hundreds of values. Here are the alternatives for deploying your own services to Kubernetes, from overlays and typed code to generating the manifests from your application.
Dokku gives you git push deploys on one server, and these are the alternatives for when you want a web UI, several servers, zero-downtime container deploys, or managed databases and queues in your own AWS or GCP account.
Workers are fast at the edge and constrained everywhere else: memory per isolate, CPU time per request, partial Node.js compatibility and edge-native storage. Here are the alternatives for backends that need full runtimes, Postgres and background jobs.
Agent runs take minutes, call models many times and fail halfway. Here is how to move them out of the request into a queue and worker, track their status in Postgres, cap their cost, and run the setup in your own AWS account.
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.