lotusdblabs/lotusdb
lotusdblabs/lotusdb has 2,257 GitHub stars and 186 forks. GitHot measured 0 stars in 24 hours, 0 in 7 days, 0 in 15 days, and +1 in 30 days. Last checked 2026-11-22 04:08 UTC. Last push 2026-08-27.
Progression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- +1
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
À propos
La base de données clé-valeur la plus avancée écrite en Go, extrêmement rapide et compatible avec les arbres LSM et B+.
DonnéesREADME.md
Original
What is LotusDB
LotusDB is the most advanced key-value store written in Go, extremely fast, compatible with LSM tree and B+ tree, and optimization of badger and bbolt.
Key features:
- Combine the advantages of LSM and B+ tree
- Fast read/write performance
- Much lower read and space amplification than typical LSM
Design Overview

Getting Started
package main
import (
"github.com/lotusdblabs/lotusdb/v2"
)
func main() {
// specify the options
options := lotusdb.DefaultOptions
options.DirPath = "/tmp/lotusdb_basic"
// open a database
db, err := lotusdb.Open(options)
if err != nil {
panic(err)
}
defer func() {
_ = db.Close()
}()
// put a key
err = db.Put([]byte("name"), []byte("lotusdb"))
if err != nil {
panic(err)
}
// get a key
val, err := db.Get([]byte("name"))
if err != nil {
panic(err)
}
println(string(val))
// delete a key
err = db.Delete([]byte("name"))
if err != nil {
panic(err)
}
}
see the examples for more details.
Community
Welcome to join the Slack channel and Discussions to connect with LotusDB team members and other users.
If you are a Chinese user, you are also welcome to join our WeChat group, scan the QR code and you will be invited:
![]() |
|---|
Explorer des projets similaires
Chargement…
