Skip to content
This repository has been archived by the owner on Jul 24, 2022. It is now read-only.

Event sourcing #28

Open
pedro-gutierrez opened this issue Sep 20, 2020 · 0 comments
Open

Event sourcing #28

pedro-gutierrez opened this issue Sep 20, 2020 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@pedro-gutierrez
Copy link
Contributor

pedro-gutierrez commented Sep 20, 2020

Is your feature request related to a problem? Please describe.

This was identified by @coderbyheart while discussing how we could implement a shipments api in the toolbox. At the moment, our database model follows a classic design where:

  • modifications are destructive
  • there is no versioning
  • there is little traceability

Describe the solution you'd like

Study and document the viability of turning the toolbox into an event sourced implementation. Where we natively store immutable events as our source of truth. Then we build projections where the outcome would be similar to what we currently have at the moment.

In Elixir, the best library for this purpose is https://github.com/commanded/commanded

@pedro-gutierrez pedro-gutierrez added documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed question Further information is requested labels Sep 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant