// Articles

Guides and deep dives

Guides, tutorials, and comparisons to help you build better backend applications.

Filter by category: All (965)
Upload and Download Files with Google Cloud Storage in Python

Use the google-cloud-storage library to upload, download and stream objects, avoid overwrites with preconditions, and generate V4 signed URLs on Cloud Run without a key file, plus buckets declared in Python.

5 Min Read
How to Use Google Cloud Pub/Sub from Python

Publish and receive Pub/Sub messages with the google-cloud-pubsub library: batching, attributes, streaming pull with flow control, acks and nacks, retries, dead-letter topics and the emulator, plus typed topics declared in Python.

6 Min Read
Go vs Rust for Backend Services

How Go and Rust compare for APIs and workers: concurrency, latency and memory, compile times, ecosystem and hiring, with the same endpoint written in both.

7 Min Read
Invoicing Backend: Invoice Numbers, PDFs, Reminders and Payments

How to build the backend behind invoicing: gapless invoice numbers assigned at issue time, frozen line items, PDFs rendered once and stored privately, payments recorded exactly once from webhooks, and overdue reminders that never send twice.

13 Min Read
Promo Code Backend: Discount Rules, Redemption Limits and Abuse

How to build the backend behind ecommerce promo codes: unguessable codes, discount rules, redemption limits that hold under concurrent checkouts, per-customer limits, releases on cancellation, and brute-force protection.

7 Min Read
Database per Service: How Microservices Own Their Data

What the database-per-service pattern requires, the isolation levels from shared schema to separate servers, how to query across services without shared tables, and an event-fed read model in Go.

7 Min Read
Cloud Run Service-to-Service Authentication

How one Cloud Run service calls another with a Google-signed ID token, the IAM grant the receiver needs, working Go and Python callers, and the causes behind 401 and 403 responses.

7 Min Read
Cloud Foundry Alternatives in 2026

Where teams move Cloud Foundry apps today: Encore, Kubernetes with Korifi, Google Cloud Run, Amazon ECS on Fargate, Red Hat OpenShift and Heroku, with what replaces cf push, service bindings and CredHub in each.

8 Min Read
The Bulkhead Pattern for Backend Services

How bulkheads stop one slow dependency from taking down a whole service: concurrency limits per dependency, separate connection pools, isolated worker queues, and a tested Go implementation.

7 Min Read
How to Use Amazon SQS from Go

Send, receive and delete SQS messages with the AWS SDK for Go v2, with long polling, visibility timeouts, batch deletes, dead-letter queues and a graceful consumer loop.

7 Min Read
Fix "Could Not Load Credentials" Errors in the AWS SDK

Why the AWS SDK for JavaScript, Python and Go cannot find credentials, how the default provider chain decides, and the fix for each environment: laptops, Docker, EC2, ECS, EKS and CI.

6 Min Read
How to Add Background Jobs to Flask

Move slow work out of Flask requests with Encore, RQ or Celery: a queue, a worker, retries and scheduled jobs, with working code for each and what it takes to run them in production.

6 Min Read