Skip to content

gorocksdb is a Go wrapper for RocksDB, embedded by default

License

Notifications You must be signed in to change notification settings

rubenv/gorocksdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gorocksdb, a Go wrapper for RocksDB

Build Status GoDoc

Install

There exist two options to install gorocksdb. You can use either a own shared library or you use the embedded RocksDB version from CockroachDB.

To install the embedded version (default, it might take a while):

go get github.com/rubenv/gorocksdb

If you want to go the way with the shared library you'll need to build RocksDB before on your machine. If you built RocksDB you can install gorocksdb now:

CGO_CFLAGS="-I/path/to/rocksdb/include" \
CGO_LDFLAGS="-L/path/to/rocksdb -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4" \
  go get -tags=dynamic github.com/rubenv/gorocksdb

Relation to tecbot/gorocksdb

This version of gorocksdb uses the embedded version by default.

The version by tecbot is still considered the upstream: please submit fixes and pull requests there. I'll periodically merge changes back to this repository.

About

gorocksdb is a Go wrapper for RocksDB, embedded by default

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published