// Articles

Guides and deep dives

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

Filter by category: Architecture (9)
Webhooks vs Polling: How to Choose for Backend Integrations

When a backend should receive webhooks and when it should poll an API, comparing latency, reliability, rate limits and operational cost, why most production integrations end up doing both, and a Go service that takes webhooks and reconciles with a scheduled poll.

8 Min Read
The Twelve-Factor App in 2026: What Still Holds and What Changed

A practical review of the twelve factors for backends running on AWS, GCP and Kubernetes today, which ones every service should still follow, where secrets managers, containers and agents have changed the advice, and how to apply them without a pile of infrastructure scripts.

7 Min Read
Synchronous vs Asynchronous Communication Between Services

When a service should call another and wait, when it should publish a message and move on, what each choice does to latency, availability and consistency, and how to combine both in one request.

6 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
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
Ecommerce Order Fulfillment Backend on AWS

Accept an order, reserve inventory, enqueue fulfillment and store packing labels, with Encore provisioning Postgres, Pub/Sub, object storage and cron in your own AWS account.

10 Min Read
Double-Entry Payment Ledger Backend on AWS

Post balanced journal entries, keep an append-only ledger and emit transaction events for statements and reconciliation, with Encore in your own AWS account.

8 Min Read
Shipment Tracking Event Pipeline on AWS and GCP

Model shipment status changes as events, update a tracking store and fan out to webhooks and partners, with Encore Pub/Sub or SNS/SQS and Pub/Sub by hand.

8 Min Read
Service-Oriented Architecture: An Ecommerce Example

Follow an order through separate services for catalog, payments, inventory, and notifications.

7 Min Read