// Articles
Guides, tutorials, and comparisons to help you build better backend applications.
Concrete Terraform for an RDS PostgreSQL instance with a DB subnet group, security group, parameter group and Secrets Manager password, the networking and state pain that comes with it, and how Encore provisions the same application database from code.
Stream events from a Node.js HTTP handler with the right headers, heartbeats and reconnects, contrast briefly with WebSockets, and run the same pattern as an Encore TypeScript raw endpoint next to a Postgres database.
How to run TypeScript on AWS Lambda with Node.js 22 or 24, bundle with esbuild, cut cold starts, choose ESM or CommonJS, and when an always-on TypeScript API on your own AWS account is a better fit.
Horizontal scaling means adding more copies of a service behind a load balancer. What has to be stateless, where sessions and sticky routing fit, why the database becomes the bottleneck, and how Encore services scale as units in your own cloud while databases, queues and object storage stay managed primitives.
GitLab CI/CD runs jobs defined in .gitlab-ci.yml on shared or project runners. How pipelines, stages and environments work, and how to deploy an Encore backend from a GitLab job using the platform API or encore build docker.
GitHub Actions is the default CI for repos on GitHub. When teams look beyond it, GitLab CI, CircleCI, Buildkite, Jenkins and Tekton are the usual picks. How they compare, and how infrastructure from code shrinks the deploy stage while you keep your CI.
Deno and Node.js both run JavaScript and TypeScript on the server. How they differ on permissions, npm compatibility, TypeScript, tooling and deploy targets, and when to pick each for a backend.
What a CI/CD pipeline does in 2026, how build, test and deploy stages fit together, how GitHub Actions, GitLab CI, CircleCI and Jenkins compare, and how a backend with infrastructure declared in code plugs into any of them.
A canary deployment sends a small slice of traffic to a new backend version, watches metrics, then promotes or rolls back. How it differs from blue-green, how CodeDeploy and Kubernetes progressive delivery do it, and how Encore fits without claiming built-in traffic splitting.
Blue-green deployment keeps two production environments and switches traffic at once for fast rollback. How the pattern works on ALB weighted target groups, ECS and Kubernetes, when it beats rolling deploys, and where Encore fits for backends.
How Lambda polls Amazon SQS, how batch size and partial batch failure work, how visibility timeouts and dead-letter queues interact, the IAM you need, and how to get the same queue pattern from TypeScript without managing the event source mapping.
How EC2 Auto Scaling groups, ECS service auto scaling, target tracking and scheduled scaling work for a backend, where cost leaks, and how to run services that scale in your own AWS account from application code.