#cqrs #event-sourcing #serverless

cqrs-es

A lightweight, opinionated CQRS and event sourcing framework targeting serverless architectures

27 releases

Uses new Rust 2021

0.2.4 Dec 14, 2021
0.2.3 Oct 14, 2021
0.2.1 Sep 29, 2021
0.1.3 Sep 21, 2021
0.0.14 Apr 30, 2020

#4 in #cqrs

Download history 33/week @ 2021-10-02 52/week @ 2021-10-09 26/week @ 2021-10-16 22/week @ 2021-10-23 11/week @ 2021-10-30 31/week @ 2021-11-06 10/week @ 2021-11-13 19/week @ 2021-11-20 44/week @ 2021-11-27 32/week @ 2021-12-04 40/week @ 2021-12-11 10/week @ 2021-12-18 13/week @ 2021-12-25 14/week @ 2022-01-01 26/week @ 2022-01-08 27/week @ 2022-01-15

80 downloads per month
Used in 4 crates

Custom license

41KB
602 lines

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:

Crates.io docs

Dependencies

~0.7–1.4MB
~33K SLoC