// Articles
Guides, tutorials, and comparisons to help you build better backend applications.
Design the backend behind pay-in-four installments: exact schedules in integer cents, a daily collection run, charges that cannot double under retries and crashes, decline retries, delinquency and events for reminders, then build it in TypeScript with Encore.
What the ECS stopped reason "Essential container in task exited" means, how to find the exit code and logs before the task disappears, and what exit codes 1, 137, 139 and 143 usually point to on Fargate.
Design the backend that charges the right sales tax or VAT at checkout: quotes from a tax provider cached per cart, the tax recorded exactly as charged when the order is paid, refunds that reverse it, and per-jurisdiction totals for registration thresholds, then build it in TypeScript with Encore.
Publish messages with boto3, add message attributes and batch publishes, fan out to SQS queues with filter policies, read SNS envelopes in a consumer, and test the whole flow locally with moto.
Publish messages to SNS with the AWS SDK for Go v2, add message attributes, batch publishes and FIFO settings, fan out to SQS consumers, and see how typed topics in Go replace the setup.
Fetch secrets with boto3, parse JSON secrets, cache values between requests, handle rotation and access errors, inject secrets into ECS tasks, and test locally with moto.
What "Region is missing", "NoRegionError: You must specify a region" and "Invalid Configuration: Missing Region" mean in the JavaScript, Python and Go AWS SDKs, where each SDK looks for a region, and why AWS_REGION alone does not fix boto3.
How to read an AWS AccessDenied message, find which policy type blocked the call, test the fix with the IAM policy simulator, and avoid the ARN, KMS and role mix-ups behind most of these errors.
Why AWS returns ExpiredToken, how to tell a stale environment variable from an expired SSO session or a role session that outlived its duration, and how to make long-running code refresh credentials on its own.
How flow control works in the Google Cloud Pub/Sub client libraries, what MaxOutstandingMessages and MaxOutstandingBytes limit, why push subscriptions behave differently, and how to cap concurrency for a handler that calls a rate-limited API.
A production Dockerfile for Node.js and TypeScript in 2026: multi-stage builds on node:26-slim, npm ci with production-only dependencies, the node user, PID 1 and SIGTERM, and what to keep out of the image.
A step-by-step guide to moving Supabase Edge Functions to AWS: what changes when Deno handlers become Node.js code, how to keep verifying Supabase Auth tokens, where background tasks go, and a TypeScript version with the endpoints, queue and database in your own AWS account.