Skip to content

Event Sourcing library in Haskell

License

Notifications You must be signed in to change notification settings

capital-match/hevents

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HEvents: An Event Sourcing Library for Haskell

The goal of this library is to make it easy to develop and deploy production grade (micro-)services based on event sourced model. Each such service should be easily constructed and include the following:

  • A underlying business model expressed as a pure data structures to which can be sent Commands and applied Events,
  • Atomic application of some commands to underlying model,
    • Possibly with wrapping it in remote request,
  • Storage of generated events in append-only data source with choice of underlying storage medium:
    • In memory list of events,
    • Local file,
    • Remote server,
  • Call to other services as a client,
  • Error handling in a consistent way,
  • Web interface to the service,
  • Logging,
  • Metrics and monitoring,
  • Testing,
  • Packaging,
  • ...

The overarching principle is to expose each feature as a mini-DSL and compose them using extensible-effects approach.

About

Event Sourcing library in Haskell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 100.0%