Crate mz_rocksdb_types

source ·
Expand description

An async wrapper around RocksDB, that does IO on a separate thread.

This crate offers a limited API to communicate with RocksDB, to get the best performance possible (most importantly, by batching operations). Currently this API is only upsert, which replaces (or deletes) values for a set of keys, and returns the previous values.



  • This module offers a protobuf implementation (to be used with LaunchDarkly) RocksDBTuningParameters that can be used to tune a RocksDB instance. The supported options are carefully considered to be a minimal set required to tune RocksDB to perform well for the UPSERT usecase. This usecase is slightly odd: