proxy.golang.org : github.com/dgraph-io/badger/v3 : v3.2103.3
Package badger implements an embeddable, simple and fast key-value database, written in pure Go. It is designed to be highly performant for both reads and writes simultaneously. Badger uses Multi-Version Concurrency Control (MVCC), and supports transactions. It runs transactions concurrently, with serializable snapshot isolation guarantees. Badger uses an LSM tree along with a value log to separate keys from values, hence reducing both write amplification and the size of the LSM tree. This allows LSM tree to be served entirely from RAM, while the values are served from SSD. Badger has the following main types: DB, Txn, Item and Iterator. DB contains keys that are associated with values. It must be opened with the appropriate options before it can be accessed. All operations happen inside a Txn. Txn represents a transaction, which can be read-only or read-write. Read-only transactions can read values for a given key (which are returned inside an Item), or iterate over a set of key-value pairs using an Iterator (which are returned as Item type values as well). Read-write transactions can also update and delete keys from the DB. See the examples for more usage details.
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/dgraph-io/badger/[email protected]
Published:
Indexed:
Related tag:
v3.2103.3
- github.com/cespare/xxhash v1.1.0
- github.com/dgraph-io/ristretto v0.1.1
- github.com/dustin/go-humanize v1.0.0
- github.com/gogo/protobuf v1.3.2
- github.com/golang/protobuf v1.3.1
- github.com/golang/snappy v0.0.3
- github.com/google/flatbuffers v1.12.1
- github.com/google/go-cmp v0.5.4
- github.com/klauspost/compress v1.12.3
- github.com/kr/pretty v0.1.0
- github.com/pkg/errors v0.9.1
- github.com/spaolacci/murmur3 v1.1.0
- github.com/spf13/cobra v0.0.5
- github.com/stretchr/testify v1.4.0
- go.opencensus.io v0.22.5
- golang.org/x/net v0.0.0-20201021035429-f5854403a974
- golang.org/x/sys v0.0.0-20221010170243-090e33056c14
- gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15