Transactional Outbox Pattern

Опубликовано: 26 Июль 2026
на канале: CockroachDB
16,063
367

This is a lecture from the Cockroach University course “Event-Driven Architecture with Java”.

In this lecture, students are introduced some of the principles of building microservices such as synchronous, and asynchronous messages, data isolation, and event-driven architecture.

We discuss the dual-write problem that occurs when you try to build an event-driven system. We also discuss the transactional outbox pattern and how it can be used to avoid the dual-write problem.

Finally, we introduce CockroachDB’s Change Data Capture which can be used in conjunction with the transactional outbox pattern to simplify the implementation of an event-driven system.


Learn more about CockroachDB by signing up for free training at Cockroach University: https://university.cockroachlabs.com/