Production-Grade Event Sourcing: Modelling, DevOps, Process

Modelling, schema evolution, resiliency, DevOps...
Oskar Dudycz

Production-Grade Event Sourcing: Modelling, DevOps, Process

No dates are scheduled for this workshop. Let us know if you think we should organize it near you, or if you'd like to book it on premise in your organisation.


Event Sourcing is a pattern that is quickly gaining popularity. Many companies see the advantages it brings, e.g. business focus and keeping all information about the business process. It can also be a great input to analytics, providing increased diagnostics and tracing. Nowadays, that's essential for running a system on the scale.

There are already decent materials teaching how to start the journey with Event Sourcing, yet it's not easy to get certainty that what we designed will work on production. Even when we get there, it's worth revisiting lessons learned and discovering what we can improve in preparing for the upcoming challenges.

The goal of this workshop is to strengthen all the critical aspects of running event-sourced on production:

  • modelling (like keeping streams short, managing consistency and efficiently handling business logic, best practices and anti-patterns),
  • managing schema evolution, so events versioning,
  • advanced projections design and resiliency, so how to get the best from events to efficiently get read models and insights from them,
  • DevOps techniques (like traceability, blue-green projection rebuilt, archiving old data),
  • handling distributed processes and integrating with other systems,
  • putting event sourcing as a vital part of the whole architecture (so how to integrate it with non-event-sourced modules, defining private and public schema).

What will you learn

After the workshop, you'll understand and practice techniques that will allow you to run your Event-Sourcing system on production.

All the exercises will be backed by the versatile knowledge of the trainer, Oskar Dudycz. He'll share his experience building systems like Marten and EventStoreDB and working as an architect and consultant in many Event Sourcing projects.

We'll start with the project of the system that looks fine as the first production deployment. Through group exercises, a mixture of modelling and practical coding exercises, we'll analyse potential issues step by step. We'll learn how to refactor it step by step without breaking it. That will allow us to fix the boundaries, consistency guarantees, and resiliency. We'll practice both adding new capabilities and changing existing ones. We'll practice schema evolution and DevOps practices like projection rebuilds. We'll end with a more robust and prepared-for-the-next-challenges system.

Prerequisites

The workshop is designed for people who already have experience with Event Sourcing. Especially for those who would like to assess the production-readiness of their design or already deployed system. We won't start from basics but assume:

  • experience in how Event Sourcing works (storing events, building state from them),
  • knowledge of how to model business logic and projections/read models,
  • Understand that event sourcing is not event streaming and why streaming solutions like Kafka and Pulsar should not be used as event stores.

We assume you know modelling techniques like EventStorming or Event Modeling, C4 and modularity concepts (microservices, monolith, CQRS, etc.). And that you were already building and designing web applications.

Most of the exercises will be focused on general understanding and will not be technology-specific, but practical will require knowledge of one of the languages: C#, Java, or TypeScript. We'll use Marten and EventStoreDB as event stores examples.

What participants say about this workshop

"Recently, I had the opportunity to attend Oskar's workshops on aggregates, and I highly recommend him as a tutor. He demonstrated commitment throughout the workshops, consistently answering any questions that arose. Additionally, he provided lots of supplementary materials for further reading."

-- Dominik Gąsior, Software Engineer

"Oskar's domain-driven design and event-driven architecture expertise shone brightly in his "Slim Down Your Aggregate" workshop. His ability to simplify and convey intricate concepts with clarity and practical applicability makes him a standout mentor in the field. I confidently recommend Oskar to anyone seeking to enhance their skills and understanding in these areas."

-- Kamil Kiełbasa, Software Engineer

"I recently had the pleasure of attending the "Event Sourcing: Practical Introduction" workshop at DDD Europe 2023, where Oskar was our instructor. I must say, it was one of the most enlightening experiences I've had in a long time. Oskar's depth of knowledge, clarity in communication, and real-world examples made complex concepts easy to grasp. Thanks to him, I now have a profound understanding of event sourcing. I wholeheartedly recommend Oskar for anyone keen on delving deep into the subject or looking for a knowledgeable and effective teacher."

-- Michael Gerber, Co-Founder and Senior Software Engineer

Oskar Dudycz

About Oskar Dudycz

Oskar is a developer, technical team leader, and architect. He started a career before StackOverflow existed. For over 14 years, he has been creating systems close to the business process. He believes that Event-Driven Architectures and Event Sourcing are great ways to achieve that.

He is an active open-source developer and one of the Marten library maintainers. He is also sharing his journey and findings on his blog https://event-driven.io and practical samples at https://github.com/oskardudycz.

All workshops by Oskar Dudycz
@oskar_at_net

No dates are scheduled for this workshop. Let us know if you think we should organize it near you, or if you'd like to book it on premise in your organisation.


Also check out