Question 6 of 10Pro Only

Explain event sourcing and how it differs from traditional state-based persistence.

Sample answer preview

Event sourcing stores the sequence of events that led to the current state, rather than storing current state directly. To reconstruct state, you replay all events from the beginning. In traditional persistence, you save current state.

event storeimmutableaudit trailtemporal queriessnapshots

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more Backend Developer interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime