7 ms·
Other databases written in Go: - TiDB by PingCAP - Vitess by PlanetScale Both are basically only the SQL part as TiDB uses TiKV (written in Rust) and Vitess
by dveeden2 2y ago
Other databases written in Go:
- TiDB by PingCAP
- Vitess by PlanetScale
Both are basically only the SQL part as TiDB uses TiKV (written in Rust) and Vitess uses MySQL.
For those who want to implement a database in Go but without having to implement a network protocol there is go-mysql, which allows you to do this: https://github.com/go-mysql-org/go-mysql/blob/master/cmd/go-mysqlserver/main.go https://github.com/go-mysql-org/go-mysql/blob/master/cmd/go-... As demonstration I created a networked SQLite: https://github.com/dveeden/go-mysql-examples/blob/main/go-mysqlite/main.go https://github.com/dveeden/go-mysql-examples/blob/main/go-my...
Both TiDB and Vitess have parsers that can be used outside standalone. So if you only want to implement your own on disk format, this can help.
Note that I'm working for PingCAP on TiDB and I'm also a co-maintainer for go-mysql.
- raggi 2y agoVitess came from YouTube
- CBLT 2y agoDidn't the Vitess team found planetscale?
- harshitgangal 2y agoYes! The founders of PlanetScale were the co-creators of Vitess at YouTube, where it was built to handle MySQL scalability. PlanetScale builds on Vitess but offers a managed, developer-friendly experience.
- aqueueaqueue 2y agoWe use Tidb at work at scale. Great product! Was looking at the source today to understand an error code.