Code Monkey home page Code Monkey logo

es4j's Introduction

Build Status Download

Eventsourcing for Java

Instead of mutating data in a database, it stores all changes (events) and causes (commands). This facilitates rapid application development and evolution by mitigating the inability to predict how future needs will drive data shape requirements as all causal information is persisted. It also provides a foundation for deep analytics, data recovery, audit trails and other associated benefits.

This is an early version. That said, it's a rewrite of another library that has been used in real projects, so a lot was learned and incorporated in this incarnation.

Key benefits

  • Flexibility of data aggregation and representation
  • Persistence of causal information
  • Succinctly mapped application functionality
  • Undo/redo functionality
  • Audit trail logging

Key features

  • Clean, succinct Command/Event model
  • Compact data storage layout
  • Using Disruptor for fast message processing
  • Using CQengine for fast indexing and querying
  • In-memory and on-disk (more persistent indices coming soon) storage
  • Causality-preserving Hybrid Logical Clocks
  • Locking synchronization primitive

Documentation

Installation instructions and documentation can be found at es4j-doc.eventsourcing.com

Related projects

  • es4j-graphql A Relay.js/GraphQL adaptor for ES4J-based applications.

Contributing

Contributions of all kinds (code, documentation, testing, artwork, etc.) are highly encouraged. Please open a GitHub issue if you want to suggest an idea or ask a question.

es4j's People

Contributors

gitter-badger avatar yrashk avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.