Safely Handling Side Effects in Distributed Systems

Decouple decisions from side effects: Outbox/Inbox, idempotency, and sagas instead of 2PC.

  • Event-driven architectures: decisions vs. side effects
  • Consistency & idempotency: Outbox/Inbox and at-least-once delivery
  • Sagas with compensation instead of distributed transactions
Safely Handling Side Effects in Distributed Systems

Distributed Systems: Safely Mastering Decisions and Side Effects

In distributed systems, external side effects like emails or payments cannot easily be rolled back — classic synchronous transactions and so‑called two‑phase commits quickly hit their limits.

This training shows how to decouple decisions from executing side effects and how to build robust, auditable flows using the Outbox/Inbox patterns, idempotency, and sagas.

The result: simpler fault tolerance, clear responsibilities, and reliable business processes across service boundaries.

What you'll learn

  • Why two‑phase commits (2PC) often fail in practice
  • Event‑based decoupling: decision vs. side effect
  • Putting the Outbox pattern into practice
  • Inbox pattern and idempotency: safely handling duplicate events
  • At‑least‑once delivery: detect duplicates and process them correctly
  • The Saga pattern: compensation instead of rollback

Who should attend?

This training is for backend developers and software architects who want to implement distributed business processes robustly — from event sourcing and CQRS to microservices.

Ideal for teams integrating external systems while ensuring consistency, idempotency, and traceability.

Prerequisites

Basic knowledge of relational databases and PHP is recommended.

Experience with messaging/event systems is helpful but not required.

What you'll gain from this training

  • You'll separate decisions from side effects to increase process reliability
  • You'll implement Outbox and Inbox in practice and make your handlers idempotent
  • You'll confidently handle at‑least‑once delivery and duplicates
  • You'll model sagas with compensations — without 2PC and without ACID expectations

Secure your seat

Register now — or book a free consultation to tailor the training.

Safely Handling Side Effects in Distributed Systems 🇬🇧

Duration: 2 days

Sep 10-11, 2026, from 10:00am-11:30am and 02:00pm-03:30pm (CEST) each day

599 €
Book for 599 €

Safely Handling Side Effects in Distributed Systems 🇬🇧 🇩🇪

Duration: ca. 6 hours

Your preferred date, any number of participants. Either in Zoom or using your preferred video conferencing software.

from 2700 €
Your desired date online (Zoom) Arne Blankerts
Start free consultation on online training →

Safely Handling Side Effects in Distributed Systems 🇬🇧 🇩🇪

Duration: 1 day (with additional topics)

Your preferred date, any number of participants. At your company or at your desired location.

from 3000 €
Your desired date Any location Arne Blankerts
Start free consultation on inhouse training →
Credits allow discounted access to our training courses. Learn More
Easy access to all our training courses for a monthly fixed fee. Learn More

Frequently Asked Questions

Why are there no full-day online courses?
Our content is designed for optimal online learning: Short, focused sessions promote concentration and provide time to process what has been learned between units.
Are the training sessions live or recorded?
All our training courses take place live as a video conference and are led by an experienced trainer. Participants can ask questions at any time.
What makes your training courses unique?
Our training courses combine hands-on tasks with live coding and solving real-life problems. Our experienced trainers guarantee a particularly good learning experience.
Are your training courses remote or in-person?
We offer our training courses both remotely and in person in order to meet the different requirements of our customers.
Can you tailor training courses specifically to our needs?
Naturally. We can customise our training courses to the individual needs of teams and their technology stacks at any time.
What advantages do individualised training courses offer?
In-house training courses allow you to arrange individual topics, flexible dates and guarantee targeted learning in a familiar environment. This is usually financially viable for four or more participants.
Is there a certification?
Yes, participants will receive a certificate on request after successful participation.