// Articles

Guides and deep dives

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

Filter by category: All (674)
Kinesis vs SQS: Event Stream or Message Queue on AWS?

How Amazon Kinesis Data Streams and Amazon SQS differ on ordering, replay, consumers, retention and scaling, and when an application really needs a stream.

7 Min Read
Cloud Run vs Cloud Functions: Services or Functions on Google Cloud?

How Cloud Run services and Cloud Run functions (formerly Cloud Functions) differ on packaging, triggers, limits and project structure, and how Encore runs a backend on Cloud Run from code.

7 Min Read
How to Deploy a chi App to AWS

Run a go-chi API with Postgres and Redis on Fargate, RDS and ElastiCache in your own AWS account, with Encore or by hand.

8 Min Read
How to Add File Uploads and Object Storage to a chi App

Store product images from a go-chi API in a public bucket served from a CDN, with Encore or with S3, CloudFront and aws-sdk-go-v2.

11 Min Read
How to Add Cron Jobs to a chi App

Run scheduled tasks next to a go-chi API, once per schedule across every replica, with Encore, robfig/cron or a scheduled ECS task.

7 Min Read
How to Add Pub/Sub to a chi App

Publish events from go-chi handlers and process them in idempotent subscribers, with Encore or SNS and SQS wired by hand.

8 Min Read
How to Add Redis to a chi App

Use Redis for rate limiting middleware and cache-aside lookups in a go-chi API, with Encore or go-redis and ElastiCache.

8 Min Read
How to Add Postgres to a chi App

Back a chi router with PostgreSQL, migrations and a local database, using Encore or pgx with Amazon RDS.

9 Min Read
How to Deploy a Backend to Your Own Kubernetes Cluster with Managed Postgres

Run a Dockerized backend on EKS or GKE against RDS or Cloud SQL: the manual setup, what you still own, and how infrastructure from code removes most of it.

10 Min Read
Port Alternatives in 2026

Five alternatives to Port, from open source portals to scorecard tools, ranked by how much you still have to build before a developer can ship a new service.

11 Min Read
PHI Access Audit Log: Record Who Viewed Which Patient Record

Design the audit log behind a healthcare API: log every read of patient data in the same transaction that returns it, include denied and break-glass access, make the table append-only in Postgres, answer access-history questions and purge only after the retention period, with the data in your own AWS account.

11 Min Read
Freight Quote and Booking Backend: Carrier Rates, Expiring Quotes and Bills of Lading

Design the backend behind instant freight quotes: parallel carrier rate calls with per-carrier API keys, quotes that expire, a booking step that cannot double book or book a stale price, confirmation events, and bills of lading stored in your own bucket, built by hand on AWS or in TypeScript with Encore.

13 Min Read