// Articles
Guides, tutorials, and comparisons to help you build better backend applications.
How Amazon Kinesis Data Streams and Amazon SQS differ on ordering, replay, consumers, retention and scaling, and when an application really needs a stream.
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.
Run a go-chi API with Postgres and Redis on Fargate, RDS and ElastiCache in your own AWS account, with Encore or by hand.
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.
Run scheduled tasks next to a go-chi API, once per schedule across every replica, with Encore, robfig/cron or a scheduled ECS task.
Publish events from go-chi handlers and process them in idempotent subscribers, with Encore or SNS and SQS wired by hand.
Use Redis for rate limiting middleware and cache-aside lookups in a go-chi API, with Encore or go-redis and ElastiCache.
Back a chi router with PostgreSQL, migrations and a local database, using Encore or pgx with Amazon RDS.
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.
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.
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.
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.