pebble

package
v3.2.7-0...-70c9be9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package pebble provides factory functions for creating pebble based Log DB.

Pebble support is in ALPHA status, it is NOT ready for production use.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBatchedLogDB

func NewBatchedLogDB(dirs []string, lldirs []string) (raftio.ILogDB, error)

NewBatchedLogDB is the factory function for creating Pebble based Log DB instances. Raft entries are batched before they get stored into Pebble, it uses more memory and provides better throughput performance.

func NewLogDB

func NewLogDB(dirs []string, lldirs []string) (raftio.ILogDB, error)

NewLogDB is the factory function for creating Pebble 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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL