// Articles

Guides and deep dives

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

Filter by category: All (738)
Gift Card Backend: Issuing, Redemption, Balances and Fraud Holds

Issue a gift card with a hashed PAN, redeem it without overdrawing, hold a balance when fraud is suspected, and keep every movement in a ledger.

6 Min Read
Warehouse Receiving Backend: ASNs, Dock Check-In and Putaway Events

Record an advanced shipping notice, check a shipment in at the dock, count it, and publish putaway events that inventory and billing can both consume.

6 Min Read
IoT Firmware Update Backend: Signed Bundles, Rollout Waves and Rollback

Store a signed firmware bundle, roll it out in waves, collect device acknowledgements, and roll back a bad version without leaving devices half-updated.

7 Min Read
Marketplace Order Escrow Backend: Holds, Releases, Refunds and Disputes

Hold a marketplace payment when an order is accepted, release it after delivery is confirmed, refund it on a lost dispute, and keep those transitions in a ledger the two sides can audit.

8 Min Read
Lambda Provisioned Concurrency: Cold Starts, Auto Scaling and How to Set It Up

Keep initialized Lambda environments ready with provisioned concurrency, attach it to a version or alias, scale it on a schedule, and when a warm container platform is a better fit.

4 Min Read
Amazon SQS Delay Queues: DelaySeconds, per-Message Delay and When to Use Them

Postpone SQS message delivery by up to 15 minutes with a queue delay or a per-message timer, including the FIFO limitation, and what to do when you need a longer wait.

4 Min Read
Cloud SQL IAM Database Authentication: Setup and Tokens

Enable IAM database authentication on Cloud SQL for PostgreSQL, create an IAM database user, and connect with the Cloud SQL Auth Proxy or the Go connector, without putting a database password in the application.

4 Min Read
AWS Secrets Manager Rotation: Lambda, RDS Credentials and How It Works

Rotate an AWS Secrets Manager secret on a schedule with a Lambda rotation function, understand AWSPENDING and AWSCURRENT, and how RDS managed rotation differs from a secret you rotate yourself.

4 Min Read
RDS Read Replicas: Setup, Lag, Promotion and When to Use Them

Create an Amazon RDS read replica for PostgreSQL, watch replication lag, promote it to a standalone instance, and when a primary with Multi-AZ is the better tool.

4 Min Read
Amazon EventBridge Pipes: Connect Sources to Targets Without a Lambda

Build a point-to-point pipe from SQS, Kinesis, DynamoDB Streams or Kafka to a target, with optional filtering and enrichment, and when an Encore subscription is a better fit.

4 Min Read
Cloud Storage Event Notifications: Pub/Sub, Eventarc and Cloud Run

Send bucket events when an object is finalized, deleted or archived, using Pub/Sub notifications or Eventarc, and process them in Cloud Run or in an Encore subscriber after the upload.

6 Min Read
Migrate Fly.io Redis to Amazon ElastiCache

Move data from an Upstash Redis database created with fly redis to ElastiCache in your own AWS account, either by copying keys lazily through fly redis proxy or by exporting an RDB from the Upstash console.

4 Min Read