---
title: "Patterns & Best Practices in Event-Driven Systems"
description: "Five core event-driven architecture patterns, compared with their tradeoffs: event notification (thin signals that force consumers to call back), event-carried state transfer (full payloads that decouple consumers at the cost of size and schema discipline), event sourcing with CQRS, choreography and orchestration."
url: "https://swe.quest/articles/patterns-best-practices-in-event-driven-systems-4f09d6274ee25443"
canonical: "https://devblog.kogan.com/blog/patterns-amp-best-practices-in-event-driven-systems"
source: "Kogan.com Dev Blog"
published: "2025-12-08"
difficulty: "medium"
kind: "Deep dive"
reading_minutes: 5
tags: ["event-driven","messaging","distributed-systems","system-design","microservices"]
---

# Patterns & Best Practices in Event-Driven Systems

A post on [Kogan.com Dev Blog](https://swe.quest/sources/kogan.md), published 2025-12-08, 5 min read, Deep dive. Original: [https://devblog.kogan.com/blog/patterns-amp-best-practices-in-event-driven-systems](https://devblog.kogan.com/blog/patterns-amp-best-practices-in-event-driven-systems)

## Summary

Five core event-driven architecture patterns, compared with their tradeoffs: event notification (thin signals that force consumers to call back), event-carried state transfer (full payloads that decouple consumers at the cost of size and schema discipline), event sourcing with CQRS, choreography and orchestration. Recommended practices include idempotent consumers backed by unique constraints on event IDs, durable replayable streams such as Kafka or EventBridge+SQS, explicit event versioning, schema registries with Avro/Protobuf compatibility modes, domain-driven event names, and correlation IDs for distributed tracing. Many systems mix choreography for simple flows with orchestration for multi-step workflows that need retries and compensation.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Event-driven architecture](https://swe.quest/tags/event-driven.md) (Backend & APIs)
- [Queues & messaging](https://swe.quest/tags/messaging.md) (Backend & APIs)
- [Distributed systems](https://swe.quest/tags/distributed-systems.md) (Distributed systems)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)
- [Microservices](https://swe.quest/tags/microservices.md) (Backend & APIs)

## Prerequisites

- message queues basics ([easy posts on Queues & messaging](https://swe.quest/tags/messaging.md?difficulty=easy))
- microservices basics ([easy posts on Microservices](https://swe.quest/tags/microservices.md?difficulty=easy))

## Keywords

Event Sourcing, CQRS, Event-Carried State Transfer, Kafka, AWS EventBridge, Schema Registry, EventStoreDB

## Related posts

- [Asynchronous computing at Meta: Overview and learnings](https://swe.quest/articles/asynchronous-computing-at-meta-overview-and-learnings-38025981fbc83823.md): Meta Engineering · 2023-01-31 · Medium · 10 min read · Serverless, Queues & messaging, Scheduling, Distributed systems, System design
  Meta re-architected Async tier, its serverless asynchronous computing platform running multi-trillion workloads per day, by splitting an overloaded Dispatcher into data-source-specific "tailers" and a source-agnostic scheduler.
- [Event-driven architectures using Neon and Sequin](https://swe.quest/articles/event-driven-architectures-using-neon-and-sequin-8e1877ce94623987.md): Neon · 2024-10-22 · Medium · 5 min read · Event-driven architecture, PostgreSQL, Replication
  Sequin offers a lighter alternative to Debezium plus Kafka for change data capture on Neon Postgres, using a logical replication slot to build a strictly ordered "Sequence" of table rows that consumers can read, rewind and replay without copying data into a separate system.
- [Enhancing Distributed System Load Shedding with TCP Congestion Control Algorithm](https://swe.quest/articles/enhancing-distributed-system-load-shedding-with-tcp-congestion-control-algorithm-c180104e3f071048.md): Zalando Engineering · 2024-04-22 · Medium · 9 min read · Resilience, Event-driven architecture, Queues & messaging, Microservices
  Zalando's customer communication platform applies TCP-style AIMD (Additive Increase Multiplicative Decrease) congestion control at its ingestion point to shed load and prioritize critical messages.
- [Utilizing Amazon DynamoDB and AWS Lambda for Asynchronous Event Publication](https://swe.quest/articles/utilizing-amazon-dynamodb-and-aws-lambda-for-asynchronous-event-publication-b54b04cd8273be4a.md): Zalando Engineering · 2022-02-02 · Medium · 5 min read · Event-driven architecture, Cloud platforms, Serverless, Resilience, Microservices
  Zalando Payments decoupled event publication from synchronous DynamoDB writes in its Order Store service using the Transactional Outbox pattern, removing the message bus from the request path and raising the availability ceiling from 99.8% to DynamoDB's own.
- [Fan-out from Postgres with Change Data Capture using Debezium and Upstash Redis](https://swe.quest/articles/fan-out-from-postgres-with-change-data-capture-using-debezium-and-upstash-redis-1afcb52ed56a9566.md): Neon · 2024-02-14 · Medium · 9 min read · Event-driven architecture, PostgreSQL, Queues & messaging, Replication
  Streaming committed Postgres changes from the write-ahead log via a logical replication slot avoids the dual-write problem, where an application writes to the database and a message broker separately and can leave them inconsistent.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
