{"id":13503736,"url":"https://github.com/lotusdblabs/lotusdb","last_synced_at":"2025-05-14T05:10:48.486Z","repository":{"id":37015595,"uuid":"438128602","full_name":"lotusdblabs/lotusdb","owner":"lotusdblabs","description":"Most advanced key-value database written in Go, extremely fast, compatible with LSM tree and B+ tree.","archived":false,"fork":false,"pushed_at":"2025-02-18T08:07:46.000Z","size":7575,"stargazers_count":2144,"open_issues_count":13,"forks_count":179,"subscribers_count":25,"default_branch":"main","last_synced_at":"2025-04-11T00:45:36.184Z","etag":null,"topics":["bptree","database","golang","kv-store","lsm-tree","storage"],"latest_commit_sha":null,"homepage":"https://lotusdblabs.github.io","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lotusdblabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-14T05:26:57.000Z","updated_at":"2025-04-10T21:43:16.000Z","dependencies_parsed_at":"2023-09-22T22:14:38.555Z","dependency_job_id":"28656f80-dffb-4756-9223-2b5867603db2","html_url":"https://github.com/lotusdblabs/lotusdb","commit_stats":{"total_commits":326,"total_committers":21,"mean_commits":"15.523809523809524","dds":"0.43251533742331283","last_synced_commit":"92e16ee6a56f4af790a1cfc99543a3669b5d1fb3"},"previous_names":["rosedblabs/lotusdb","lotusdblabs/lotusdb","flower-corp/lotusdb"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lotusdblabs%2Flotusdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lotusdblabs%2Flotusdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lotusdblabs%2Flotusdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lotusdblabs%2Flotusdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lotusdblabs","download_url":"https://codeload.github.com/lotusdblabs/lotusdb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254076850,"owners_count":22010611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bptree","database","golang","kv-store","lsm-tree","storage"],"created_at":"2024-07-31T23:00:44.272Z","updated_at":"2025-05-14T05:10:48.305Z","avatar_url":"https://github.com/lotusdblabs.png","language":"Go","funding_links":[],"categories":["Go","Parallelism and Concurrency in DBMS","Database"],"sub_categories":["Engineering Repos","Databases Implemented in Go"],"readme":"![lotusdb-logo.png](https://s2.loli.net/2024/05/18/Hkq6u2vhTgxbpEt.png)\r\n\r\n## What is LotusDB\r\n\r\nLotusDB 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.\r\n\r\nKey features:\r\n\r\n* **Combine the advantages of LSM and B+ tree**\r\n* **Fast read/write performance**\r\n* **Much lower read and space amplification than typical LSM**\r\n\r\n## Design Overview\r\n\r\n![](https://github.com/lotusdblabs/lotusdb/blob/main/resource/img/design-overview.png)\r\n\r\n## Getting Started\r\n```go\r\npackage main\r\n\r\nimport (\r\n\t\"github.com/lotusdblabs/lotusdb/v2\"\r\n)\r\n\r\nfunc main() {\r\n\t// specify the options\r\n\toptions := lotusdb.DefaultOptions\r\n\toptions.DirPath = \"/tmp/lotusdb_basic\"\r\n\r\n\t// open a database\r\n\tdb, err := lotusdb.Open(options)\r\n\tif err != nil {\r\n\t\tpanic(err)\r\n\t}\r\n\tdefer func() {\r\n\t\t_ = db.Close()\r\n\t}()\r\n\r\n\t// put a key\r\n\terr = db.Put([]byte(\"name\"), []byte(\"lotusdb\"))\r\n\tif err != nil {\r\n\t\tpanic(err)\r\n\t}\r\n\r\n\t// get a key\r\n\tval, err := db.Get([]byte(\"name\"))\r\n\tif err != nil {\r\n\t\tpanic(err)\r\n\t}\r\n\tprintln(string(val))\r\n\r\n\t// delete a key\r\n\terr = db.Delete([]byte(\"name\"))\r\n\tif err != nil {\r\n\t\tpanic(err)\r\n\t}\r\n}\r\n```\r\nsee the [examples](https://github.com/lotusdblabs/lotusdb/tree/main/examples) for more details.\r\n\r\n## Community\r\n\r\nWelcome to join the [Slack channel](https://join.slack.com/t/rosedblabs/shared_invite/zt-19oj8ecqb-V02ycMV0BH1~Tn6tfeTz6A) and  [Discussions](https://github.com/lotusdblabs/lotusdb/discussions) to connect with LotusDB team members and other users.\r\n\r\nIf you are a Chinese user, you are also welcome to join our WeChat group, scan the QR code and you will be invited:\r\n\r\n| \u003cimg src=\"https://i.loli.net/2021/05/06/tGTH7SXg8w95slA.jpg\" width=\"200px\" align=\"left\"/\u003e |\r\n| ------------------------------------------------------------ |\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flotusdblabs%2Flotusdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flotusdblabs%2Flotusdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flotusdblabs%2Flotusdb/lists"}