top | item 43192102

(no title)

dveeden2 | 1 year 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-... As demonstration I created a networked SQLite: 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.

discuss

order

aqueueaqueue|1 year ago

We use Tidb at work at scale. Great product! Was looking at the source today to understand an error code.

raggi|1 year ago

Vitess came from YouTube

CBLT|1 year ago

Didn't the Vitess team found planetscale?