Documentation ¶
Overview ¶
Package leveldb provides factory functions for creating LevelDB based Log DB.
LevelDB support has been deprecated, it is recommended to use the RocksDB based Log DB in production.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBatchedLogDB
deprecated
NewBatchedLogDB is the factory function for creating LevelDB based Log DB instances. Raft entries are batched before they get stored into LevelDB, it uses more memory and provides better throughput performance.
Deprecated: please use the default RocksDB based LogDB.
func NewLogDB
deprecated
NewLogDB is the factory function for creating LevelDB based Log DB instances. Raft entries are stored in its plain format, it uses less memory than the batched alternative implementation but comes at the cost of lower throughput.
Deprecated: please use the default RocksDB based LogDB.
Types ¶
This section is empty.