Skip to content

distributed-systems

9 posts

distributed-systems
Thinking in Events: A Beginner's Guide to Commands vs Events

Learn the mental shift behind event-driven systems: announce facts instead of issuing commands. Covers naming, decoupling, eventual consistency, and idempotency.

event-driven · messaging · idempotency +2

Idempotency: A Beginner's Guide to Safe Retries in APIs

A practical introduction to idempotency for developers building APIs, payments, and message consumers, covering HTTP semantics, idempotency keys, and upserts.

idempotency · api-design · distributed-systems +4

Caching Strategies: From Local Memory to Distributed Systems

A practical guide to multi-tier caching: in-memory, Redis, and CDN layers, cache-aside vs write-through, ElastiCache vs MemoryDB, and stampede prevention.

caching · redis · aws +4

Transactional Outbox Pattern: Reliable Event Publishing in Distributed Systems

Learn how the Transactional Outbox Pattern solves the dual-write problem in distributed systems, with practical implementations using PostgreSQL, DynamoDB, and CDC tools.

distributed-systems · microservices · event-driven +5

Saga Pattern for Distributed Transactions: Maintaining Consistency Without ACID

Implement the Saga pattern across microservices with AWS Step Functions and EventBridge, covering idempotency, compensation logic, and production patterns.

design-patterns · distributed-systems · microservices +4

AWS Step Functions Deep Dive: Building Resilient Workflow Orchestration

Build production serverless workflows with Step Functions: Standard vs Express, Distributed Map, error handling, and cost optimization with working CDK examples.

step-functions · aws-cdk · serverless +4

What Is a Key-Value Store? Choosing the Right Solution

A foundational guide to key-value storage: what it is, where it fits, why teams choose it, and which solutions ship with which technology stacks.

redis · dynamodb · caching +4

Migrating from Microservices Back to a Modular Monolith

Recognizing distributed monoliths, strategic service consolidation, and the honest reality of moving back to a modular monolith when complexity grows.

microservices · architecture · distributed-systems +2

Multi-Account AWS Architecture: Event-Driven Systems at Scale

Multi-account AWS architecture patterns for resilient event-driven systems: account structure, EventBridge routing, and cross-service communication.

aws · eventbridge · multi-account +5