
Event Sourcing mit Ted Young – Silicon Valley meets Saale Valley
About this event
An diesem Abend dürfen wir Ted M. Young aus dem Silicon Valley bei uns begrüßen. Es wunderbar wieder bei Xceptance zu Gast zu sein. Wir bedanken uns herzlich für das Hosting inklusive Verpflegung.
Wir blicken einem inspirierenden Abend mit wertvollen Denkanstößen, interessanten Begegnungen und lebendigem Austausch entgegen! (Im Nachgang geht es gerne in die Wagnergasse bzw. gemeinsam auf einen ersten Glühwein zum Weihnachtsmarkt.)
Event Sourcing mit Ted Young – Silicon Valley meets Saale Valley
17:15 Open Doors
~ 17:30 Begrüßung
~17:40 Kleiner Exkurs zum Silicon Valley (wip)
~18:00 Talk - Ted M. Young - Event Sourcing: Simpler Persistence Without ORMs
19:00 Q&A with Networking with Drinks, Pizza and Snacks
TALK
Event Sourcing: Simpler Persistence Without ORMs
Event Sourcing is not just a different way to persist data, but a different way of thinking about data. With ORMs like Hibernate, we have to consider query performance, fetch strategies, mapping domain models to database schemas, caching, etc. With Event Sourcing, we can use a few simple patterns to build our systems:
- Commands: user actions representing an intention, e.g., “Buy Concert Ticket”
- Events: meaningful changes to state as a result of executing Commands, e.g., “Ticket Purchased”
- Read Models: up-to-date views of Events, derived specifically for a particular way of looking at the data, e.g., “My Tickets”, or “All Ticket Sales”
Need caching for the ticket sales report? That’s a Read Model. Display tickets for a Customer? That’s another Read Model, using the same principles to derive the desired view of state. Performance isn’t an issue, as replaying events is very fast. Even in a system with millions or billions of events, we only need to replay events related directly to a specific entity or state view.
You’ll see what makes Event Sourcing a mindshift rather than just a different persistence mechanism: updates are just appends to a log, mapping objects is no longer needed, and you keep the history of changes to data, so you can always know what happened and ask questions you didn’t expect to have.
SPEAKER
Ted M. Young
Ted M. Young is a Java technical coach and live coder. He's been in software development for over 30 years, following eXtreme Programming practices since 2000. Ted loves helping folks make their code more testable and teaches Test-Driven Development (TDD), Refactoring, Domain-Driven Design, and Event Sourcing through hands-on, shared experiences. Ted created the acclaimed "JitterTed's TDD Game" used at events and companies worldwide to help people understand the nuances and benefits of TDD in a fun way.
https://www.linkedin.com/in/tedmyoung/
https://ted.dev/about
Source: meetup