Erlang-rocksdb - a wrapper for RocksDB

I would like to share erlang-rocksdb, an Erlang NIF wrapper for RocksDB.

Current version is 2.5.0, built on RocksDB 10.7.5.

Main features include:

  • Basic db operations (get, put, delete, merge, multi_get)
  • Wide column entity API
  • Column families with coalescing iterator
  • Pessimistic transactions with row level locking
  • Snapshots, checkpoints, and backups
  • BlobDB support
  • Posting list merge operator for inverted indexes
  • Compaction filters (declarative rules and Erlang callbacks)
  • SST file support

Tested on macOS, FreeBSD, Solaris and Linux. Requires Erlang 22+ with dirty nifs enabled.

Latest release (2.5.0) adds posting list V2 format with roaring64 bitmaps for fast set operations, a postings resource API for repeated lookups, and enhanced TTL support with column family operations.

Links:

Feedback and contributions are welcome.

6 Likes