talira

erlang-rocksdb

Erlang and Elixir bindings for RocksDB

open sourceApache-2.0free

erlang-rocksdb is an Erlang wrapper for RocksDB, the embedded key-value store, built as dirty NIFs for Erlang 22+ and published on Hex as rocksdb. It bundles RocksDB 11 with snappy, lz4 and zstd and covers the full API: get, put, delete, merge and batches, column families, snapshots, checkpoints, backups, pessimistic transactions, the wide-column entity API, BlobDB, compaction filters, SST ingestion, statistics and AES-256 encrypted environments.

Problems it solves

  • embedded key-value storage in an Erlang or Elixir app
  • use RocksDB from the BEAM
  • persistent local storage for an Elixir service

Features

  • bundled RocksDB with snappy, lz4 and zstd
  • column families, snapshots, checkpoints and backups
  • pessimistic transactions
  • wide-column entities and BlobDB
  • compaction filters and SST ingestion
  • encrypted environments

Alternatives

The same job

These do what erlang-rocksdb does.

  1. RocksDB Embeddable persistent key-value store for fast storage
  2. LMDB Lightning Memory-Mapped Database: a tiny, crash-proof embedded key-value store

Compare erlang-rocksdb with the top 3