Oskar Dudycz

Pragmatic about programming

Theme

Topic

Event-Driven Architecture

A practical path through distributed processes, delivery guarantees, idempotency, ordering, concurrency, and rebuilding read models safely.

11 article

Recommended reading order

Read these in order to move from the foundations to practical trade-offs and production concerns.

  1. Event-driven distributed processes by example

    2022-07-13Some time ago, I wrote the general rules on processing the event-driven services. check my article Saga and Process Manager - distributed processes in practice. It…
  2. Checkpointing the message processing

    2025-12-08Let’s start by asking you two questions. What Super Frog has to do with messaging? When was the last time you wrote if statements in SQL? If it’s been a long time, have…
  3. Idempotent Command Handling

    2024-11-15“Is your command handling idempotent?” Sounds like a douchebag question to ask. Actually, that’s not a question but a statement that we want to sound smart. Maybe a…
  4. Handling Events Coming in an Unknown Order

    2025-11-03After the last article on Dealing with Race Conditions in Event-Driven Architecture with Read Models, I got such a question from Ben: You described the scenario where you…
  5. Dealing with Race Conditions in Event-Driven Architecture with Read Models

    2025-10-20My events came out of order! What should I do?! Are you familiar with the term “phantom record” and its benefits? No? Let me explain it to you today. Everyone has a plan…
  6. Rebuilding Event-Driven Read Models in a safe and resilient way

    2026-01-05Let’s make a soup today: a blog soup. We’ll mix multiple ingredients like: events (obviously), read models, inline and async projections, rebuilding read models…