21. ACID vs BASE
Atomic: All actions in Xact happen, or none
happen
Consistency: If each Xact is consistent, and the
DB starts consistent, it ends up consistent
Isolation: Execution of one Xact is isolated from
that of other Xacts.
Durability: If a Xact commits, its effects persists.
Basic Availability: Read/Write functions
available w/ no consistency guarantee
Soft State: After some time, we know the state
Eventual Consistency
45. Event-Sourcing
Recap:
● Every state change recorded as an event
● The event store becomes the principal source of truth
● State = rebuild using events
● Advantages:
○ No additional Audit Logs, Event are audit logs!
○ Highly-scalable!