41 releases
0.4.12 | Sep 13, 2024 |
---|---|
0.4.11 | Feb 20, 2024 |
0.4.10 | Aug 27, 2023 |
0.4.9 | May 27, 2023 |
0.0.18 | May 5, 2020 |
#278 in HTTP server
1,507 downloads per month
Used in 6 crates
135KB
2.5K
SLoC
cqrs
A lightweight, opinionated CQRS and event sourcing framework targeting serverless architectures.
Command Query Responsibility Segregation (CQRS) is a pattern in Domain Driven Design that uses separate write and read models for application objects and interconnects them with events. Event sourcing uses the generated events as the source of truth for the state of the application.
Together these provide a number of benefits:
- Removes coupling between tests and application logic allowing limitless refactoring.
- Greater isolation of the aggregate.
- Ability to create views that more accurately model our business environment.
- A horizontally scalable read path.
Things that could be helpful:
- User guide along with an introduction to CQRS and event sourcing.
- Demo application using the axum http server.
- Change log
Three backing data stores are supported:
Dependencies
~2.7–9MB
~81K SLoC