Live data from Hacker News

Show HN: A Database Written in Golang

github.com

71–80 of 80 posts

Re: Show HN: A Database Written in Golang

#72
post #68

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…

Vitess came from YouTube

Didn't the Vitess team found planetscale?

Re: Show HN: A Database Written in Golang

#73
post #43

Cool! You watched CMU's intro to Database sytems, right? It's really good and thorough. It will save you of some common pitfalls and can help you navigate the trade-offs. https://www.youtube.com/watch?v=otE2WvX3XdQ&list=PLSE8ODhjZX...

I really have liked the current Optimizer series. So much amazing info.

I hope some company that heavily relies on Postgres sponsors a project to replace the optimizer with a more modern implementation. I feel like for any large applications with olap style queries (even if on the OLTP database) will benefit incredibly from that work. SQL Servers optimizer was light-years ahead of Postgres when I worked with it last over a decade ago.

Re: Show HN: A Database Written in Golang

#74
post #72
post #68

Earlier quoted context omitted.

Vitess came from YouTube

Didn't the Vitess team found planetscale?

Yes! 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.

Re: Show HN: A Database Written in Golang

#75
post #43

Cool! You watched CMU's intro to Database sytems, right? It's really good and thorough. It will save you of some common pitfalls and can help you navigate the trade-offs. https://www.youtube.com/watch?v=otE2WvX3XdQ&list=PLSE8ODhjZX...

I also recommend "Database Internals" to people. An invaluable book, the logical next read after "Designing Data-Intensive Applications". It's the best and most approachable resource on distributed systems and database consistency / performance tradeoffs I have found.

Re: Show HN: A Database Written in Golang

#76
post #73
post #43

Cool! You watched CMU's intro to Database sytems, right? It's really good and thorough. It will save you of some common pitfalls and can help you navigate the trade-offs. https://www.youtube.com/watch?v=otE2WvX3XdQ&list=PLSE8ODhjZX...

I really have liked the current Optimizer series. So much amazing info. I hope some company that heavily relies on Postgres sponsors a project to replace the optimizer with a more modern implementation. I feel like for any large applications with olap style queries (even if on the OLTP database) will benefit incredibly from that work. SQL Servers optimizer was light-years ahead of Postgres when I worked with it last…

Sadly, most of those corporations would rather spend millions in proprietary solutions than give back 100k to the community. I've seen it first hand many times. They only give money if they absolutely have to.

Re: Show HN: A Database Written in Golang

#77

If folks would like to see more examples of databases built to teach oneself, they get shared on the /r/databasedevelopment subreddit not infrequently. Some recent ones: https://www.reddit.com/r/databasedevelopment/comments/1hyig8... https://www.reddit.com/r/databasedevelopment/comments/1ha5cc... https://www.reddit.com/r/databasedevelopment/comments/1dqgms... https://www.reddit.com/r/databasedevelopment/comments/1ix5…

Wow, what great resources. Thanks for sharing bud :)
Post reply on HN