Go Database

Open-source Go projects categorized as Database

Top 23 Go Database Projects

  • GitHub repo prometheus

    The Prometheus monitoring system and time series database.

    Project mention: Expose Open Policy Agent/Gatekeeper Constraint Violations for Kubernetes Applications with Prometheus and Grafana | dev.to | 2021-06-18

    We decided to use Prometheus and Grafana for gathering constraint violation metrics and displaying them, as these are good and popular open source tools.

  • GitHub repo etcd

    Distributed reliable key-value store for the most critical data of a distributed system

    Project mention: Cannot connect to OpenShift cluster using oc tool and admin console. | reddit.com/r/openshift | 2021-06-09

    I found this issue https://github.com/etcd-io/etcd/issues/11949

  • GitHub repo tidb

    TiDB is an open source distributed HTAP database compatible with the MySQL protocol

    Project mention: Oceanbase, yet another open source HTAP database | news.ycombinator.com | 2021-05-31

    Another Chinese database seems to be doing a better job at this front: https://github.com/pingcap/tidb

  • GitHub repo InfluxDB

    Scalable datastore for metrics, events, and real-time analytics

    Project mention: Clarification on bundling with influxdb 2.0? | reddit.com/r/influxdb | 2021-04-10

    Am I missing something? Is the all-in-one TICK stack only a feature of pre-compiled binaries? Should I expect a build from https://github.com/influxdata/influxdb.git to contain a full TICK stack?

  • GitHub repo cockroach

    CockroachDB - the open source, cloud-native distributed SQL database.

    Project mention: What is Cost-based Optimization? | dev.to | 2021-06-02

    In CockroachDB, the cost is an abstract 64-bit floating-point scalar value.

  • GitHub repo dgraph

    Native GraphQL Database with graph backend

    Project mention: Need help in choosing a database - Postgres or BadgerDB | reddit.com/r/Database | 2021-05-08

    Dgraph is a highly scalable hyper fast graph database that is distributed, and is built on top of Badger. For consensus, it Raft protocol. (Git repo https://github.com/dgraph-io/dgraph)

  • GitHub repo jaeger

    CNCF Jaeger, a Distributed Tracing Platform

    Project mention: Best practices for documenting your microservices/sproc project? | reddit.com/r/dotnet | 2021-06-05

    Besides documentation, if you don't know what connects with what, I'd suggest adding the observability to your services (not sure if https://opentelemetry.io/ is already completed for .NET, or it's still better to use e.g. https://opentracing.io/). Anyway, at least use the tracing https://www.jaegertracing.io/ or built-in Azure App Insights distributed tracing to get a nice overview in a form of a graph what are the service dependencies, potential bottlenecks, coupling, etc.

  • GitHub repo vitess

    Vitess is a database clustering system for horizontal scaling of MySQL.

    Project mention: Better JSON in Postgres with PostgreSQL 14 | news.ycombinator.com | 2021-06-01

    >but what does mysql do better than postgres

    Not MySQL itself but something like Vitess [1].

    [1] https://vitess.io

  • GitHub repo go-sql-driver/mysql

    Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package (by go-sql-driver)

    Project mention: Food-app | dev.to | 2021-06-08

    Go MySQL driver Link

  • GitHub repo groupcache

    groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.

    Project mention: Redis inside cluster | reddit.com/r/kubernetes | 2021-05-08

    There is also groupcache, written by the same author as memcached, but better.

  • GitHub repo badger

    Fast key-value DB in Go.

    Project mention: Show HN: Volument – Our take on website analytics | news.ycombinator.com | 2021-05-18

    We're using nats.io for event streaming and pub/sub. The sessions are aggregated in memory, then they go to Badger (https://github.com/dgraph-io/badger), and finally the daily aggregates are easily distributable and immutable JSON files.

    We're setting a session identifier to sessionStorage and those id's are wiped out once the session is processed and leaves the server memory. We worked together with a privacy specialist to ensure this is not violating GDPR. Details on what/how we collect data is here:

    https://volument.com/privacy/

  • GitHub repo dolt

    Dolt – It's Git for Data

    Project mention: Superintendent: Load multiple CSV files and write SQL | reddit.com/r/programming | 2021-06-07

    Note that dolt is to git as DoltHub is to GitHub, i.e. dolt is local and offline, including the ability to import a CSV, and it lets you execute SQL queries against the imported CSV.

  • GitHub repo rqlite

    The lightweight, distributed relational database built on SQLite

    Project mention: Comparing rqlite with tidb and any other distributed sql server alternatives? | reddit.com/r/golang | 2021-06-10

    Does anyone know production deployment of rqlite, how stable it is, and how well does it scale?

  • GitHub repo TinyGo

    Go compiler for small places. Microcontrollers, WebAssembly, and command-line tools. Based on LLVM.

    Project mention: WASM powered Jupyter (notebook) running in the browser | news.ycombinator.com | 2021-05-28

    Java and Flash, but now it is Good (TM), because the powers that be decided so.

    "Everything Old is New Again: Binary Security of WebAssembly"

    https://www.usenix.org/conference/usenixsecurity20/presentat...

    So, enjoy the 2nd coming of applets/flash,

    https://platform.uno/

    https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor

    https://tinygo.org/

    .... favourite stack compiled into WASM.

  • GitHub repo Tile38

    Real-time Geospatial and Geofencing

    Project mention: How do I implement push notifications on a 10 mile radius from a certain user? | reddit.com/r/dartlang | 2021-06-17
  • GitHub repo noms

    The versioned, forkable, syncable database

    Project mention: Noms: The versioned, forkable, syncable database | news.ycombinator.com | 2021-03-25
  • GitHub repo pgweb

    Cross-platform client for PostgreSQL databases

  • GitHub repo migrate

    Database migrations. CLI and Golang library.

    Project mention: Simple database migration tool using fs.FS and sql.DB | reddit.com/r/golang | 2021-06-16

    I was always a bit confused about the complexity of my previous migration tool of choice, https://github.com/golang-migrate/migrate . While it does the job, setup of it on new projects is always a bit of a confusion. I wanted to build something simpler. My thought process:

  • GitHub repo kingshard

    A high-performance MySQL proxy

  • GitHub repo go-cache

    An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.

    Project mention: In-memory caching solutions | reddit.com/r/golang | 2021-02-01

    Though pretty simple but have a look at https://github.com/patrickmn/go-cache

  • GitHub repo BigCache

    Efficient cache for gigabytes of data written in Go.

  • GitHub repo go-pg

    Golang ORM with focus on PostgreSQL features and performance

    Project mention: How much do you agree completely switching from Java to Go? I have total 9yrs of experience in Java but now I am interested in Go. | reddit.com/r/golang | 2021-04-18

    gorm.io/gorm`, or `github.com/go-pg/pg` if you need something more feature-rich. I would avoid using `go-kit` and `go-micro` "frameworks" unless you have some special requirement for it. But you can take a look to have an idea of what Go "framework" may look like.

  • GitHub repo bbolt

    An embedded key/value database for Go.

    Project mention: Introducing Weaviate, a fast modular vector search engine with out of the box support for state-of-the-art ML models written in Go | reddit.com/r/golang | 2021-04-12

    We initially went for using bolt (and later bbolt) which is the same store that powers etcd. It uses a B+tree approach. It worked great, but we're not happy with the write performance. We're currently in the process of switching to a custom LSM-tree-based approach, which is what you typically find in DBs with great write performance (e.g. Cassandra).

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-06-18.

Index

What are some of the best open-source Database projects in Go? This list will help you:

Project Stars
1 prometheus 37,171
2 etcd 36,221
3 tidb 28,138
4 InfluxDB 21,616
5 cockroach 20,733
6 dgraph 16,235
7 jaeger 13,650
8 vitess 12,043
9 go-sql-driver/mysql 10,972
10 groupcache 10,346
11 badger 9,348
12 dolt 8,908
13 rqlite 8,488
14 TinyGo 8,138
15 Tile38 7,475
16 noms 7,465
17 pgweb 6,895
18 migrate 6,605
19 kingshard 5,703
20 go-cache 5,073
21 BigCache 4,911
22 go-pg 4,673
23 bbolt 4,517
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com