Ecosyste.ms: Packages

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

Top 1.0% on proxy.golang.org
Top 2.0% dependent packages on proxy.golang.org
Top 1.1% dependent repos on proxy.golang.org
Top 0.8% forks on proxy.golang.org
Top 0.6% docker downloads on proxy.golang.org

proxy.golang.org : github.com/dgraph-io/badger/v4

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 - Source - Documentation - JSON
purl: pkg:golang/github.com/dgraph-io/badger/v4
Keywords: database, document-database, go, golang, key-value, library, ssd
License: Apache-2.0
Latest release: 10 months ago
First release: about 1 year ago
Namespace: github.com/dgraph-io/badger
Dependent packages: 365
Dependent repositories: 27
Stars: 12,028 on GitHub
Forks: 1,057 on GitHub
Docker dependents: 31
Docker downloads: 437,218,430
See more repository details: repos.ecosyste.ms
Last synced: 5 days ago

    Loading...
    Readme
    Loading...