Event sourcing is a recently developed design pattern to build applications that are domain centric and easy to extend. The pattern is based on the usage of a persistent event log which substitutes the more classical relational database model for Rails applications. Such event log can then be used for extending your application in all sort of creative ways. For example, by synchronizing data between your microservices, trigger side effects without cluttering your models or controllers, or build data views optimized for your query needs. In this talk, I'll present the basic ideas, some of the tradeoffs and challenges you might find and how you could start experimenting with it.
YOU MAY ALSO LIKE:
- A different take on validation using the dry-validation gem (SkillsCast recorded in February 2019)
- Domain Models in Practice: DDD, CQRS & Event Sourcing with Marco Heimeshoff (in London on 25th - 27th November 2019)
- µCon London 2020 - The Conference on Microservices, DDD & Software Architecture (in London on 27th - 29th May 2020)
- Using software engineering practices to improve engineering management (SkillsCast recorded in October 2019)
- How to stop worrying, love the SPA and appreciate Rails (SkillsCast recorded in October 2019)
An Introduction to Event Sourcing
Software engineer with expertise in startup environments and leading great teams. I value the customer over the technology, data and scientific experimentation over intuitions, enjoy the learning over being too serious.