/erocksdb

Erlang bindings to RocksDB datastore

Primary LanguageC++

erocksdb

Build Status

Erlang bindings to RocksDB datastore.

This fork enhances portability using C++11 atomics and synchronization. This enables compilation on Windows (MSVC)

Build Information

  • "erocksdb" uses the rebar build system. Makefile so that simply running "make" at the top level should work.
  • "erocksdb" requires Erlang R16B03-1 or later.

The fork is work in progress, the build scripts were not modified so building on Windows involves manual operations:

  1. Build rocksdb (in any way)
  2. Make a VS solution file, tweak the include and lib folders to match your setup
  3. Build erocksdb.dll
  4. Build the Erlang beam files

Status

Limited testing on Windows (built with MSVC 2017). Tested with mnesia_eleveldb. Used instead of basho’s eleveldb backend.

Versioning

The release version follows the RocksDB's one. For instance, if the version of erocksdb is 4.13.5 then the version of RocksDB erocksdb binds is also 4.13.5.

License

erocksdb's license is Apache License Version 2.0

Codebase

This code is based on basho’s eleveldb.

Sponsors

LeoProject/LeoFS is sponsored by Rakuten, Inc. and supported by Rakuten Institute of Technology.