StackPractices

Tag: event-driven

Browse 24 practical software engineering resources tagged with "event-driven". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving event-driven. Each resource is written for engineers who ship real systems, with copy-paste examples and practical trade-offs.

Event-Driven Architecture

Event-driven architecture decouples components by having them react to events instead of calling each other directly. This improves scalability and resilience, but requires careful design around ordering, idempotency, and schema evolution.

The resources below cover event sourcing, CQRS, stream processing, sagas, choreography, and orchestration. Each pattern explains how to build systems that respond to change without creating hidden dependencies.

Every resource includes clear explanations, copy-paste code, and practical warnings. Use them to make informed decisions, avoid production pitfalls, and speed up your delivery. If you are just getting started, read the beginner-friendly articles first; if you are experienced, jump straight to the advanced patterns and architecture guides. New resources are added regularly, so bookmark this page and check back for the latest patterns.

Design Event-Driven Systems with Event Buses and Brokers

How to build loosely coupled systems using events, event buses, message brokers, and event sourcing...

Event-Driven Microservices

Design event-driven microservices with message brokers, event sourcing, CQRS, and eventual...

Implement Event Sourcing with CQRS in Python

Build an event-sourced system with CQRS separation using Python, event store persistence,...

Event Streaming with Apache Kafka and Node.js

Build growth-ready event-driven systems using Apache Kafka with producers, consumers, consumer...

Kafka Consumer Groups with Python for Scalable Streaming

Create Kafka consumer groups in Python with partition assignment, offset management, commit...

Message Processing Idempotency

Make message processing idempotent so duplicate deliveries don't trigger side effects in...

Implement the Transactional Outbox Pattern for Reliable

Use the transactional outbox pattern to reliably publish domain events alongside database changes,...

Build Event-Driven Serverless Architectures

How to design loosely coupled systems using serverless functions triggered by events from message...

Event-Driven Lambda with SQS Triggers and Batch Processing

Process SQS messages with Lambda using batch windows, partial batch responses, error handling, and...

Domain Event Pattern

Capture and publish major occurrences within a domain model to decouple side effects from core...

Event-Carried State Transfer Pattern

Replicate state changes across services by publishing events that carry the full updated entity...

Idempotent Consumer Pattern

Process messages from a queue exactly once regardless of duplicates by using idempotent operations,...

Inbox Pattern

Use a dedicated inbox table or queue to record incoming events or requests, ensuring reliable...

Observer Pattern

Define a subscription mechanism to notify multiple objects about events. A behavioral design...

Publish-Subscribe Pattern

Broadcast events to multiple independent subscribers. Publishers send messages to a topic without...

Complete Guide to Microservices Communication

Compare sync vs async communication patterns for microservices. Covers REST, gRPC, message queues,...

Event-Driven Architecture — Queues, Topics, and Streams

A practical guide to event-driven architecture: events vs commands, message brokers, patterns like...

Event Sourcing — State as a Sequence of Events

A detailed analysis into Event Sourcing: persist state changes as events, reconstruct aggregates...

Serverless Architecture — Patterns and Anti-Patterns

A practical guide to serverless architecture: function design, cold starts, event-driven patterns,...

Software Architecture Guide

A guide to designing software architecture: monoliths vs microservices, layered architecture, data...