Skip to Content
Cloud Native Python
book

Cloud Native Python

by Manish Sethi
July 2017
Intermediate to advanced
374 pages
8h
English
Packt Publishing
Content preview from Cloud Native Python

Laws of Event Sourcing

Listed next are some of the Event Sourcing laws which need to be maintained while implementing ES on any system (that is, application design):

  • Idempotency: An ideal event-sourced business logic must be idempotent. This means that when you execute a business logic against an input stream of data, the resultant state of the application will always remain the same. Yes, that's true, it will remain the same irrespective of the number of times you execute the business logic.
  • Isolation: Event Sourcing must not depend on the external event streams. This is one of the most important tenets of Event Sourcing. Generally, business logic is rarely ever executed in a vacuum. Applications usually interact with external entities ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python for DevOps

Python for DevOps

Noah Gift, Kennedy Behrman, Alfredo Deza, Grig Gheorghiu
Cloud Native

Cloud Native

Boris Scholl, Trent Swanson, Peter Jausovec

Publisher Resources

ISBN: 9781787129313Supplemental Content