Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tecbot/gorocksdb
gorocksdb is a Go wrapper for RocksDB
https://github.com/tecbot/gorocksdb
embedded go golang rocksdb wrapper
Last synced: 3 months ago
JSON representation
gorocksdb is a Go wrapper for RocksDB
- Host: GitHub
- URL: https://github.com/tecbot/gorocksdb
- Owner: tecbot
- License: mit
- Created: 2014-02-12T22:23:03.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-03-18T23:21:58.000Z (10 months ago)
- Last Synced: 2024-08-02T20:46:37.370Z (6 months ago)
- Topics: embedded, go, golang, rocksdb, wrapper
- Language: Go
- Homepage: http://rocksdb.org
- Size: 370 KB
- Stars: 931
- Watchers: 26
- Forks: 269
- Open Issues: 41
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- my-awesome - tecbot/gorocksdb - 03 star:0.9k fork:0.3k gorocksdb is a Go wrapper for RocksDB (Go)
- awesome-golang-repositories - gorocksdb
README
# gorocksdb, a Go wrapper for RocksDB
[![Build Status](https://travis-ci.org/tecbot/gorocksdb.svg)](https://travis-ci.org/tecbot/gorocksdb) [![GoDoc](https://godoc.org/github.com/tecbot/gorocksdb?status.svg)](http://godoc.org/github.com/tecbot/gorocksdb)
## Install
You'll need to build [RocksDB](https://github.com/facebook/rocksdb) v5.16+ on your machine.
After that, you can install gorocksdb using the following command:
CGO_CFLAGS="-I/path/to/rocksdb/include" \
CGO_LDFLAGS="-L/path/to/rocksdb -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4 -lzstd" \
go get github.com/tecbot/gorocksdbPlease note that this package might upgrade the required RocksDB version at any moment.
Vendoring is thus highly recommended if you require high stability.*The [embedded CockroachDB RocksDB](https://github.com/cockroachdb/c-rocksdb) is no longer supported in gorocksdb.*