Reveno Core

Reveno framework core engine.

License

License

GroupId

GroupId

org.reveno
ArtifactId

ArtifactId

reveno-core
Last Version

Last Version

1.23.1
Release Date

Release Date

Type

Type

jar
Description

Description

Reveno Core
Reveno framework core engine.
Source Code Management

Source Code Management

https://github.com/dmart28/reveno

Download reveno-core

How to add to project

<!-- https://jarcasting.com/artifacts/org.reveno/reveno-core/ -->
<dependency>
    <groupId>org.reveno</groupId>
    <artifactId>reveno-core</artifactId>
    <version>1.23.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.reveno/reveno-core/
implementation 'org.reveno:reveno-core:1.23.1'
// https://jarcasting.com/artifacts/org.reveno/reveno-core/
implementation ("org.reveno:reveno-core:1.23.1")
'org.reveno:reveno-core:jar:1.23.1'
<dependency org="org.reveno" name="reveno-core" rev="1.23.1">
  <artifact name="reveno-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.reveno', module='reveno-core', version='1.23.1')
)
libraryDependencies += "org.reveno" % "reveno-core" % "1.23.1"
[org.reveno/reveno-core "1.23.1"]

Dependencies

compile (8)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.26
org.slf4j : slf4j-log4j12 jar 1.7.26
it.unimi.dsi : fastutil jar 8.2.2
com.lmax : disruptor jar 3.4.2
io.protostuff : protostuff-uberjar jar 1.5.9
io.netty : netty-buffer jar 4.1.34.Final
net.bytebuddy : byte-buddy jar 1.9.12
com.github.stephenc.high-scale-lib : high-scale-lib jar 1.1.4

Project Modules

There are no modules declared in this project.

Gitter Download

Reveno | Event-Sourcing CQRS framework

Reveno is thoroughgoing lightning-fast, durable and yet simple async transaction processing JVM based framework made to fit your domain in first place. It's highly influenced by patterns/approaches like Event Sourcing, CQRS, Zero-Copy, DDD, Mechanical Symphaty.

High performance with low latency

Able to process millions of transactions per second with mean latency measured by tens of microseconds on an average hardware, thus delivering the result with the speed of lightning.

Durability

A rich set of configurations for journaling, in-memory model snapshotting and clustered failover replication makes the system totally reliable, so you make sure no single bit of data is lost.

Easy to code, fluent API

We kept simplicity at heart of the project so that you can concentrate only on a domain model and transactional business logic, and let Reveno do the rest dirty work for you.

Most of todays solutions are suffering from excessively complex architecture and hard maintainable infrastructure, not to mention an overall maintenance cost of them.

The purpose of Reveno is to give an easy domain-oriented development tool with simple and transparent infrastructure, with perfectly fitted components for max performance. But easy doesn't mean simplistic. Instead, we are different in intention to give you as many options as possible, so you can choose the best one for you.

Few highlights:

  • Reveno is an in-memory transactional event-driven framework with CQRS and Event Sourcing intruded. See our Architecture overview
  • Reveno is based on JVM and written fully in Java.
  • Reveno is fast - Able to process millions of transaction per second with microseconds latency.
  • Reveno is domain oriented - your primary focus will be on the core domain and domain logic only.
  • Reveno is modular - use only components you really need to.
  • Reveno is GC-friendly - despite it is general purpose framework, we minize the costs as much as possible.
  • Reveno is robust - we have much durability options as well as failover replication among cluster, pre-allocated volumes and much more.
  • Reveno is lightweight. The core is about 300kb only.

Installation

Maven repository

The current list of available artifacts in Maven consists of:

  • reveno-core – includes all Reveno core packages, responsible for engine initialization, transaction processing, etc.
  • reveno-metrics – includes packages, responsible for gathering metrics from working engine, and sending them to Graphite, Slf4j, etc.
  • reveno-cluster – makes it possible to run Reveno in cluster with Master-Slave architecture, thus providing decent failover ability.

Importing last version

Maven

<dependencies>
    <dependency>
        <groupId>org.reveno</groupId>
        <artifactId>reveno-core</artifactId>
        <version>1.23</version>
    </dependency>
    <dependency>
        <groupId>org.reveno</groupId>
        <artifactId>reveno-cluster</artifactId>
        <version>1.23</version>
    </dependency>
</dependencies>

Gradle

dependencies {
    compile 'org.reveno:reveno-core:1.23'
    compile 'org.reveno:reveno-cluster:1.23'
}

Sample usage

This example is not a quite useful in reality, but can give you a very good look at how easily relatively complex things can be done. For more real case example, we strongly encourage you to look at our examples.

Reveno reveno = new Engine("/tmp/reveno-sample");
reveno.config().mutableModel();

reveno.domain()
	.transaction("createAccount", (t,c) ->
		c.repo().store(t.id(), new Account(t.arg())))
	.uniqueIdFor(Account.class).command();

reveno.domain()
	.transaction("changeBalance", (t,c) -> 
		c.repo().get(Account.class, t.arg()).balance += t.intArg("inc"))
	.command();

reveno.startup();

long accountId = reveno.executeSync("createAccount", map("name", "John"));
reveno.executeSync("changeBalance", map("id", accountId, "inc", 10_000));

reveno.shutdown();

Quick start guide

For the quick start guide and other very useful documentation, go to our page http://reveno.org

Javadoc

Our javadoc page can be found here

Support

Google Groups | Email support | Issues

Versions

Version
1.23.1
1.23
1.22.1
1.22
1.21
1.20
1.19
1.18
1.17
1.16