An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/roysc/gorocksdb

Package gorocksdb provides the ability to create and access RocksDB databases. gorocksdb.OpenDb opens and creates databases. The DB struct returned by OpenDb provides DB.Get, DB.Put, DB.Merge and DB.Delete to modify and query the database. For bulk reads, use an Iterator. If you want to avoid disturbing your live traffic while doing the bulk read, be sure to call SetFillCache(false) on the ReadOptions you use when creating the Iterator. Batched, atomic writes can be performed with a WriteBatch and DB.Write. If your working dataset does not fit in memory, you'll want to add a bloom filter to your database. NewBloomFilter and BlockBasedTableOptions.SetFilterPolicy is what you want. NewBloomFilter is amount of bits in the filter to use per key in your database. If you're using a custom comparator in your code, be aware you may have to make your own filter policy object. This documentation is not a complete discussion of RocksDB. Please read the RocksDB documentation <http://rocksdb.org/> for information on its operation. You'll find lots of goodies there.

Ecosystem
proxy.golang.org
Latest Release
v1.1.1
over 4 years ago
Versions
2
Dependent Repos
6
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/roysc/gorocksdb
spec
License MIT
Namespace github.com/roysc
First Release over 4 years ago
Last Synced 2 days ago
Repository
Stars 0 on GitHub
Forks 0 on GitHub
Docker Dependents 2
Docker Downloads 132
Rankings on proxy.golang.org
Dependent repos Top 2.1%
Docker downloads Top 1.5%