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

Download history 467/week @ 2024-07-23 212/week @ 2024-07-30 246/week @ 2024-08-06 230/week @ 2024-08-13 296/week @ 2024-08-20 290/week @ 2024-08-27 150/week @ 2024-09-03 440/week @ 2024-09-10 255/week @ 2024-09-17 331/week @ 2024-09-24 186/week @ 2024-10-01 284/week @ 2024-10-08 394/week @ 2024-10-15 277/week @ 2024-10-22 343/week @ 2024-10-29 453/week @ 2024-11-05

1,507 downloads per month
Used in 6 crates

Apache-2.0

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:

Three backing data stores are supported:

Crates.io docs CodeBuild

Dependencies

~2.7–9MB
~81K SLoC