AI engineering glossary · Data engineering

What is event sourcing?

Event sourcing: A design where every change to a system's state is stored as an immutable event in order, and the current state is obtained by replaying those events. It gives a full audit trail and the ability to rebuild state at any moment.

Level: advancedTopic: Data engineering

Event sourcing: an example

A bank account is stored as deposits and withdrawals; the balance is computed by summing them.

Related terms

More Data engineering terms

Where you learn it

Event sourcing is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.