SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Go Database Projects
-
Monitoring tools: Prometheus, Grafana, and custom logging systems for tracking model performance and resource utilization.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Project mention: I Stopped Using Kubernetes. Our DevOps Team Is Happier Than | news.ycombinator.com | 2024-11-27
> https://github.com/etcd-io/etcd/issues/9771
> stale bot marked this as completed (by fucking closing it)
Ah, yes, what would a Kubernetes-adjacent project be without a fucking stale bot to close issues willy nilly
-
tidb
TiDB - the open-source, cloud-native, distributed SQL database designed for modern applications.
Project mention: TiDB – cloud-native, distributed SQL database written in Go | news.ycombinator.com | 2025-01-03I do want to clarify a few points, on the project page it does provide the following information:
> Distributed Transactions: TiDB uses a two-phase commit protocol to ensure ACID compliance, providing strong consistency. Transactions span multiple nodes, and TiDB's distributed nature ensures data correctness even in the presence of network partitions or node failures.
> …
> High Availability: Built-in Raft consensus protocol ensures reliability and automated failover. Data is stored in multiple replicas, and transactions are committed only after writing to the majority of replicas, guaranteeing strong consistency and availability, even if some replicas fail. Geographic placement of replicas can be configured for different disaster tolerance levels.
See https://github.com/pingcap/tidb?tab=readme-ov-file#key-featu...
Correctness has been a focus for a long time for TiDB, including working on passing Jepsen Tests back in 2019, see https://www.pingcap.com/blog/tidb-passes-jepsen-test-for-sna... and https://jepsen.io/analyses/tidb-2.1.7
Disclosure: Employee of PingCAP the company behind TiDB
-
Milvus
Milvus is a high-performance, cloud-native vector database built for scalable vector ANN search
Project mention: Show HN: I made a website to semantically search ArXiv papers | news.ycombinator.com | 2024-12-24 -
cockroach
CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
Still very much "open-source": https://github.com/cockroachdb/cockroach
But relicensed to the "CockroachDB Software License" as a form of BSL to prevent reselling.
-
Project mention: [Bahasa] Tracer: Open Telemetry, Golang, and Jagger Simple Implementation | dev.to | 2025-01-15
-
Project mention: Automatically Generate REST and GraphQL APIs From Your Database | dev.to | 2024-12-19
Dgraph
-
Project mention: A MySQL compatible database engine written in pure Go | news.ycombinator.com | 2024-04-09
With Vitess likely merging a lot of its binaries into a single unified binary: https://github.com/vitessio/vitess/issues/7471#issuecomment-...
... it would be a wild future if Vitess replaced the underlying MySQL engine with this as long as the performance is good enough.
-
-
Project mention: How rqlite – the lightweight distributed database built on SQLite – is tested | news.ycombinator.com | 2025-01-14
rqlite has been in development for about a decade too!
https://github.com/rqlite/rqlite/blob/master/CHANGELOG.md#10...
-
Go doesn't support migrations natively for that propuso we can use the popular golang-migrate package also if you use an ORM like GORM you can use it for that.
-
TinyGo
Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
So, I chose another way. In other words, the approach is to convert it into WASM using TinyGo.
-
go-sql-driver/mysql
Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package (by go-sql-driver)
Next, we need to install some dependencies. We already know we are using MySQL as our database, thus, we need to install the MySQL driver for Golang.
-
-
-
Yup, there is a big room for improvements there! BTW, VictoriaLogs docs are open source too [1], so we'll be more than happy receiving pull requests with improvements for the docs!
[1] https://github.com/VictoriaMetrics/VictoriaMetrics/tree/mast...
-
groupcache
groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
Project mention: Show HN: Pocache, preemptive optimistic caching for Go | news.ycombinator.com | 2024-10-11 -
bytebase
World's most advanced database DevSecOps solution for Developer, Security, DBA and Platform Engineering teams. The GitHub/GitLab for database DevSecOps.
Bytebase is a database DevSecOps platform designed for developers, security, DBA, and platform engineering teams.
-
https://dev.to/booscaaa/implementando-clean-architecture-com-golang-4n0a https://github.com/golang-standards/project-layout https://blog.boot.dev/golang/golang-project-structure/ https://github.com/bnkamalesh/goapp https://www.wolfe.id.au/2020/03/10/how-do-i-structure-my-go-project/ https://blog.logrocket.com/flat-structure-vs-layered-architecture-structuring-your-go-app/ https://developer20.com/how-to-structure-go-code/ https://dev.to/jinxankit/go-project-structure-and-guidelines-4ccm https://github.com/bxcodec/go-clean-arch https://golangexample.com/example-go-clean-architecture-folder-pattern/ https://www.calhoun.io/flat-application-structure/ https://go.dev/doc/effective_go#names https://go.dev/blog/package-names
-
-
-
Project mention: Usql: Universal command-line interface for SQL databases | news.ycombinator.com | 2024-11-16
It seems to support quite a large number of database drivers. If file size is such a concern you could recompile it with unneeded drivers omitted.
https://github.com/xo/usql?tab=readme-ov-file#building
-
Go Database discussion
Go Database related posts
-
[Bahasa] Tracer: Open Telemetry, Golang, and Jagger Simple Implementation
-
How rqlite – the lightweight distributed database built on SQLite – is tested
-
Don't use JWT for Authorization!
-
Show HN: SRTD – Live-reloading SQL templates for Supabase migrations
-
Boulette: Protect you from yourself (even as root)
-
Ask HN: Any one know good AI SRE for Kubernetes?
-
TiDB – cloud-native, distributed SQL database written in Go
-
A note from our sponsor - SaaSHub
www.saashub.com | 16 Jan 2025
Index
What are some of the best open-source Database projects in Go? This list will help you:
# | Project | Stars |
---|---|---|
1 | prometheus | 56,753 |
2 | etcd | 48,169 |
3 | tidb | 37,698 |
4 | Milvus | 31,731 |
5 | cockroach | 30,363 |
6 | jaeger | 20,762 |
7 | dgraph | 20,571 |
8 | vitess | 18,962 |
9 | dolt | 18,141 |
10 | rqlite | 16,084 |
11 | migrate | 15,870 |
12 | TinyGo | 15,659 |
13 | go-sql-driver/mysql | 14,614 |
14 | badger | 14,158 |
15 | sqlc | 13,939 |
16 | VictoriaMetrics | 12,976 |
17 | groupcache | 12,965 |
18 | bytebase | 11,786 |
19 | go-clean-arch | 9,339 |
20 | FerretDB | 9,267 |
21 | Tile38 | 9,213 |
22 | usql | 9,164 |
23 | pgweb | 8,706 |