// Articles
Guides, tutorials, and comparisons to help you build better backend applications.
Why outbound calls to CRMs, payment providers and SaaS APIs hit 429 errors, how to read Retry-After and rate limit headers, retries with backoff and jitter, client-side limiters, a shared budget across replicas, and moving the calls onto a queue so bursts wait instead of failing.
How Object Versioning and soft delete protect data in Cloud Storage, how generation numbers work, restoring overwritten and deleted objects with gcloud, the lifecycle rules that keep noncurrent versions from growing the bill, and version history built into a TypeScript app on GCP.
How to build search on Postgres with tsvector, a generated column and a GIN index, parse user queries with websearch_to_tsquery, rank and highlight results, add typo tolerance with pg_trgm, know when to move to a dedicated search engine, and ship it as a Go API.
When a backend should receive webhooks and when it should poll an API, comparing latency, reliability, rate limits and operational cost, why most production integrations end up doing both, and a Go service that takes webhooks and reconciles with a scheduled poll.
A practical review of the twelve factors for backends running on AWS, GCP and Kubernetes today, which ones every service should still follow, where secrets managers, containers and agents have changed the advice, and how to apply them without a pile of infrastructure scripts.
How Cloud Run sends container output to Cloud Logging, the JSON fields that set severity and link logs to requests, Logs Explorer queries that find one request's lines, retention and exclusion filters, and a TypeScript service whose logs arrive structured without extra setup.
How to send ECS and Fargate container logs to CloudWatch with the awslogs driver, the IAM and log group settings that commonly break, non-blocking mode, retention, structured JSON logs, Logs Insights queries and FireLens, plus logs that arrive structured and organized by service.
Connecting Go to Amazon RDS for PostgreSQL with pgx: the connection string, TLS with the RDS certificate bundle, pool sizing against max_connections, IAM database authentication tokens, network setup, and an approach where the database is provisioned from the Go code.
Fetching secrets with the AWS SDK v3, parsing JSON secrets, caching so you do not pay per request, handling rotation, the IAM permissions involved, ECS and Lambda alternatives to calling the API, and keeping secret values out of the repo your coding agent works in.
Publishing to SNS with the AWS SDK v3, message attributes and filtering, FIFO topics, batch publishing, fanning out to SQS with raw delivery, verifying HTTPS subscriptions, and a typed Pub/Sub alternative that provisions SNS and SQS in your own AWS account.
Why new S3 buckets block public access, the bucket policy that makes a prefix public, why CloudFront with Origin Access Control is the better default, and how to serve public images from your own AWS account without hand-editing bucket settings.
How Cloud Storage evaluates CORS, a working configuration for signed URL uploads and downloads, the gcloud and Terraform commands to apply it, why the XML and JSON API endpoints behave differently, and how to keep browser uploads behind your own API instead.