// Articles
Guides, tutorials, and comparisons to help you build better backend applications.
Schema-first GraphQL in Go with gqlgen: generating resolvers, batching N+1 lookups with a per-request dataloader, limiting query complexity, turning off introspection in production, and serving it next to the rest of your backend.
How to pass dependencies into Go services so they are easy to test: plain constructors, interfaces for fakes, Uber's Fx container, what happened to Google Wire, and Encore service structs with initService.
Designing the backend for seasonal game leaderboards: accepting scores only from game servers, keeping each player's best score, ranking millions of players, tie-breaking, caching the top 100, and when Redis sorted sets beat Postgres.
When to route Google Cloud events with Eventarc and when to publish your own events to Pub/Sub, how the two relate, and how retries, filtering and delivery differ.
How to run a container on a schedule with ECS and EventBridge Scheduler, what the IAM and networking setup involves, how retries and failures behave, and how to avoid overlapping runs.
What Command Query Responsibility Segregation is, when a separate read model pays for itself, how to keep it in sync with events, and how to handle eventual consistency, redelivery and out-of-order updates.
When to use Cloud Scheduler for work on a fixed schedule and when to use Cloud Tasks for individual, delayed or rate-limited jobs, and how to combine them.
When to run a service on Cloud Run and when on Compute Engine virtual machines, covering scaling, billing, request limits, background work, networking and what you operate yourself.
How the Idempotency-Key header works, how to store keys so a retried POST returns the original result instead of charging twice, how to handle concurrent retries and reused keys, and how long to keep them.
Verify a domain with DKIM, leave the SES sandbox, send through the SESv2 API or SMTP from Go, queue sends so a slow provider does not block requests, and handle bounces and complaints.
Which Postgres extensions Amazon RDS supports, how to list them with SHOW rds.extensions, who can run CREATE EXTENSION, which ones need shared_preload_libraries, how rds.allowed_extensions restricts them, and how to keep extensions in migrations.
How Railway and Google Cloud Run compare for running a backend API: deploy workflow, databases, cron and background work, scaling and cold starts, and pricing in November 2026, with a Go service that deploys to Cloud Run in your own GCP project with git push.