Event-sourcing in an Eventually Consistent World: Building Reactive Microservices for the Unreliable Universe of IoT and Mobile
Please log in to watch this conference skillscast.
Event Sourcing is a popular persistence pattern that allows reconstructing different views of reality from its history. But the commonly accepted approach guarantees consistent events at write-time but may fall short scaling to big-data magnitudes, or coping with unreliable clients and transport, as when working with IoT and mobile.
Embracing Event Sourcing you have already abandoned ACID transactions, but you have to push BASE (Basic Availability, Soft-state and Eventual consistency) one step further, making compromises between low-latency writes, read delays and read-model consistency. You also have to leverage Reactive architectural principles and message-driven microservices to scale out to big-data and keep command processing latency low.
In this talk Lorenzo will share with you experience, errors and successes from real-world projects. Authentic problems like building a consistent state from late or missing events, and when you lack any global time reference, at least until everyone will have an atomic clock on his mobile phone. It offers an alternative point of view on Event Sourcing, described with whiteboard-like drawings and lessons from the trenches.
YOU MAY ALSO LIKE: