Design Patterns · Senior · Question 6 of 75

What is Event Sourcing?

Explanation

Instead of "balance = 100", events like "deposited 150" and "withdrew 50" are stored. This gives a full audit trail and the ability to replay and recompute state. Redux with time travel is the frontend counterpart: state = a fold of actions.

Further reading

Problem with a question

Design Patterns · Senior · question 6

Test yourself

Take the Design Patterns · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz