goostub
Porting bustub (https://github.com/cmu-db/bustub) in Go for fun (that's why I name it goostub) (by pzhzqt)
chai
Modern embedded SQL database (by chaisql)
Our great sponsors
goostub | chai | |
---|---|---|
1 | 13 | |
12 | 1,460 | |
- | 4.6% | |
0.0 | 8.5 | |
almost 2 years ago | about 2 months ago | |
Go | Go | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
goostub
Posts with mentions or reviews of goostub.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-22.
-
Developing a database in Go
One of them is https://github.com/pzhzqt/goostub, the others are just similar to this. The original Bustub project from CMU that is in C++ only provides the main interface and the storage layer of the database (same as the link above in Go). The actual implementations are done by students during the semester. So you have to build the buffer pool, index trees, hash tables etc. Here are the assignments with full details: https://15445.courses.cs.cmu.edu/fall2020/assignments.html. As far as I have seen there are no solutions nor full implementations in Go (not even in C++) because CMU like any other uni has the policy that you will get suspended if you make your solution public or you copy it. Some non complete solutions for the first assignments have leaked, but they contain bugs and it's just better if you solve them from scratch yourself. Hope this helps!
chai
Posts with mentions or reviews of chai.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-29.
-
Polygon: Json Database System designed to run on small servers (as low as 16MB) and still be fast and flexible.
Some example of embeddable database could be genji, badger and boltdb
- Resource for making database from scratch
-
Databases: 2021 in Review and Predictions for 2022
I keep reaching for SQLite and it keeps working. Although I've been needing a better review of what other embedded databases I should be considering in 2022. I tried Genji[1] recently and tore it out as it wasn't doing ORDER BY with multiple columns.
1. https://genji.dev/
- Genji – Document-oriented, embedded SQL database written in Go
-
Open Source Databases in Go
Genji is a document-oriented, embedded, SQL database. It is build over Pebble which is a port of RocksDB in Go, by the authors of CockroachDB.
-
Looking for: library to turn SQL (or abstracted) to code & execute against custom backend (slice of structs)
Use sth like https://github.com/genjidb/genji, which is an embedded DB with SQL
-
Embedded database options
Another option could be also Genji - https://github.com/genjidb/genji
-
Alternative to MongoDB?
There is Genji, this is a document-oriented embedded SQL database written in Go. It's still a work in progress though, but it looks great!
- A pure Go embedded SQL database
- Which Go database/storage package do you go for first when your program needs to store a moderate amount of organized data?
What are some alternatives?
When comparing goostub and chai you can also consider the following projects:
hydradb - A multi-model, scalable database written in Go
sqlite
nebula-graph - A distributed, fast open-source graph database featuring horizontal scalability and high availability. This is an archived repo for v2.5 only, from 2.6.0 +, NebulaGraph switched back to https://github.com/vesoft-inc/nebula
awesome-go-storage - A curated list of awesome Go storage projects and libraries
rqlite - The lightweight, distributed relational database built on SQLite.
ent - An entity framework for Go
go-sqlite - Low-level Go interface to SQLite 3
sqlite - Go SQLite3 driver
badger - Fast key-value DB in Go.
buntdb - BuntDB is an embeddable, in-memory key/value database for Go with custom indexing and geospatial support