Event sourcing concepts and architectural choices
Event sourcing preserves business changes as facts, CQRS separates writing from reading, and event-driven architecture connects components through events. These are separate choices: needing a history does not automatically mean needing a message broker, and separating commands from queries does not require an event store.
Use these explanations to decide what one feature needs before choosing its implementation. The examples use Cratis Chronicle for event storage and processing and Cratis Arc for commands and queries. Neither component requires adopting the whole Cratis Platform.
Find the question you need to answer
Section titled “Find the question you need to answer”| Page | Question it answers |
|---|---|
| What is event sourcing? | What does it mean to store changes as events instead of current state? |
| CQRS explained | Why separate the model that changes data from the model that reads it? |
| Event store vs. a regular database | How is a database built for events different from a relational or document database? |
| Event modeling: a practical guide | How do you design an event-sourced system before writing code? |
| Keeping decisions correct under concurrency | Why does read, decide, append break under concurrency, and how do you make a rule hold? |
| The Dynamic Consistency Boundary | What does it mean to draw the consistency boundary per decision, and where do Chronicle and Arc sit? |
| Read this first: write-side consistency | How do DCB, stream-version checks and aggregates map onto Chronicle’s guards? |
| Decisions that hold, from model to frontend | How do you build one guarded rule across Screenplay, Arc, Chronicle and a React frontend? |
| Agentic development with event sourcing | How can explicit events, commands and specifications give AI coding agents clearer boundaries? |
| Projections and read models | How do events become queryable views? |
| Event-driven architecture vs. event sourcing | How do messaging between services and event storage relate? |
| Event sourcing and GDPR | How do you erase personal data from an immutable event log? |
| Organization, workspace and namespace | Which word names the customer, the place people work, and where that work is stored, and who owns each? |
Choose a starting point
Section titled “Choose a starting point”Start with what is event sourcing? if you need to explain how today’s state came to be. Follow with projections to see how that history becomes a useful screen or report. If your immediate problem is a model that serves both reads and writes poorly, start with CQRS instead.
When you are ready to store a first event, continue with Get started with Chronicle. Use the Cratis Platform component overview to understand how the components fit together and which ones your application actually needs.