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

github.com/tecbot/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
v0.0.0-20191217155057-f0fad39f321c
about 6 years ago
Versions
7
Dependent Packages
2,645
Dependent Repos
3,010
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/tecbot/gorocksdb
spec
License MIT
Namespace github.com/tecbot
First Release almost 12 years ago
Last Synced about 19 hours ago
Repository
Stars 968 on GitHub
Forks 278 on GitHub
Docker Dependents 35
Docker Downloads 21,435
Commits 175
Committers 61
Avg per Author 2.869
DDS 0.914
Rankings on proxy.golang.org
Overall Top 1.0%
Dependent packages Top 0.1%
Dependent repos Top 0.1%
Forks Top 1.7%
Docker downloads Top 0.9%