{"id":13425049,"url":"https://github.com/tomarrell/lbadd","last_synced_at":"2025-04-05T22:09:15.282Z","repository":{"id":38239721,"uuid":"226965725","full_name":"tomarrell/lbadd","owner":"tomarrell","description":"LBADD: An experimental, distributed SQL database","archived":false,"fork":false,"pushed_at":"2023-04-04T14:57:09.000Z","size":4821,"stargazers_count":390,"open_issues_count":28,"forks_count":24,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-29T21:08:02.463Z","etag":null,"topics":["database","distributed","golang","hacktoberfest","sql"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomarrell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-12-09T20:54:02.000Z","updated_at":"2025-03-18T00:07:15.000Z","dependencies_parsed_at":"2024-01-13T22:55:55.796Z","dependency_job_id":"07f36095-e6ab-4ca8-8329-d14db6447a16","html_url":"https://github.com/tomarrell/lbadd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomarrell%2Flbadd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomarrell%2Flbadd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomarrell%2Flbadd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomarrell%2Flbadd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomarrell","download_url":"https://codeload.github.com/tomarrell/lbadd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406091,"owners_count":20933803,"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":["database","distributed","golang","hacktoberfest","sql"],"created_at":"2024-07-31T00:01:03.270Z","updated_at":"2025-04-05T22:09:15.253Z","avatar_url":"https://github.com/tomarrell.png","language":"Go","readme":"\u003cp align=\"center\"\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"./gopheydb.png\" width=\"100\"\u003e\u003c/img\u003e\n    \u003ch1 align=\"center\"\u003eLBADD\u003c/h1\u003e\n    \u003cp align=\"center\"\u003eLet's build a distributed database.\u003c/p\u003e\n    \u003cp align=\"center\"\u003e\n        \u003ca href=\"https://github.com/tomarrell/lbadd/actions\"\u003e\u003cimg src=\"https://github.com/tomarrell/lbadd/workflows/Build/badge.svg\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://github.com/tomarrell/lbadd/actions\"\u003e\u003cimg src=\"https://github.com/tomarrell/lbadd/workflows/Tests/badge.svg\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://github.com/tomarrell/lbadd/actions\"\u003e\u003cimg src=\"https://github.com/tomarrell/lbadd/workflows/Static%20analysis/badge.svg\"\u003e\u003c/a\u003e\n        \u003cbr\u003e\n        \u003cimg src=\"https://img.shields.io/badge/status-WIP-yellow\"\u003e\n    \u003c/p\u003e\n\u003c/p\u003e\n\n---\n\nLBADD is an experimental distributed SQL database, written in Go.\n\nThe goal of this project is to build a database from scratch which is well documented, fully tested, and easy to understand. Implementing as much as possible from the ground up.\n\nIt is also currently a work in progress. Feel free to follow along with the development of each component, from parser to pager.\n\n## Architecture\n\nThe database is made up of a few separate components. These handle the **SQL parsing**, the **intermediary representation generation**, the **multi-node consensus**, the **execution of the IR**, and the (persistent) **storage**.\n\nFor a brief overview of the purpose of each component, have a look at the [overview](./doc/overview.md).\n\n### Prior art\nInspiration has been taken from the brilliantly documented codebase of [SQLite](https://github.com/sqlite/sqlite). However the codebase has been heavily optimized, and is difficult to follow without spending significant time.\n\nWork has also already been done to build a distributed version of SQLite called [rqlite](https://github.com/rqlite/rqlite). The project uses [raft](https://github.com/hashicorp/raft) consensus in order to keep nodes consistent across the network.\n\nLBADD aims to replicate these in a single project. LBADD doesn't aim to be nearly as performant as SQLite nor rqlite, and hopefully trades this instead for slightly more clarity and simplicity.\n\n## Contributing\nContributors are more than welcome and much appreciated. Please feel free to open a PR to improve anything you don't like, or would like to add. No PR is too small! Go check out our [contributing guide](./CONTRIBUTING.md) for more detailed info about how to get started with a contribution.\n\n## License\nThis project is licensed under the MIT license.\n\n","funding_links":[],"categories":["Go","开源类库","Open source library"],"sub_categories":["数据库","Database"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomarrell%2Flbadd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomarrell%2Flbadd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomarrell%2Flbadd/lists"}