Skip to content
This repository has been archived by the owner on Dec 15, 2019. It is now read-only.

drexin/akka-persistence-mapdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MapDB Journal for Akka Persistence

A journal plugin for akka-persistence using MapDB.

Requirements

Akka 2.3.0-RC1 or higher

Installation

There have no artifacts been published to a public repository, yet. To use this journal you have to compile and publish it to your local repository with sbt publishLocal and include it in your project:

libraryDependencies += "io.github.drexin" %% "akka-persistence-mapdb" % "0.1-SNAPSHOT"

Configuration

Add to your application.conf

akka.persistence.journal.plugin = "mapdb-journal"

Additional Settings

mapdb-journal {
    dir = "journal"
    async-writes = false
}

Setting async-writes = true drastically improves performance. With synchronous writes the journal has an average number of around 10,000 writes per second, while asynchronous writes achieve up to 200,000 writes per second on a 4-core machine. Please consult the MapDB documentation for more information about this setting.

About

A MapDB based backend for Akka persistence

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages