{"id":28641574,"url":"https://github.com/moapis/multidb","last_synced_at":"2026-04-24T20:36:11.037Z","repository":{"id":55635482,"uuid":"222900176","full_name":"moapis/multidb","owner":"moapis","description":"Connect your Go app to a group of database Nodes without the need of a SQL aware proxy! Multidb provides a SQL Database multiplexer for parallel queries using Go routines, boosting performance and availabilty.","archived":false,"fork":false,"pushed_at":"2020-12-16T12:19:09.000Z","size":205,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-12T21:18:02.868Z","etag":null,"topics":["bsd-3-clause","database","go","golang","goroutine","parallel","sql"],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/moapis/multidb","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moapis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-20T09:29:37.000Z","updated_at":"2024-01-19T10:26:51.000Z","dependencies_parsed_at":"2022-08-15T05:01:06.281Z","dependency_job_id":null,"html_url":"https://github.com/moapis/multidb","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/moapis/multidb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moapis%2Fmultidb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moapis%2Fmultidb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moapis%2Fmultidb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moapis%2Fmultidb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moapis","download_url":"https://codeload.github.com/moapis/multidb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moapis%2Fmultidb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32240147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bsd-3-clause","database","go","golang","goroutine","parallel","sql"],"created_at":"2025-06-12T21:13:04.544Z","updated_at":"2026-04-24T20:36:11.021Z","avatar_url":"https://github.com/moapis.png","language":"Go","readme":"[![Build Status](https://travis-ci.org/moapis/multidb.svg?branch=main)](https://travis-ci.org/moapis/multidb)\n[![codecov](https://codecov.io/gh/moapis/multidb/branch/main/graph/badge.svg)](https://codecov.io/gh/moapis/multidb)\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/moapis/multidb)](https://pkg.go.dev/github.com/moapis/multidb)\n[![Go Report Card](https://goreportcard.com/badge/github.com/moapis/multidb)](https://goreportcard.com/report/github.com/moapis/multidb)\n\n\n# Multidb\n\nPackage multidb provides a `sql.DB` multiplexer for parallel queries using Go routines.\n\nMultidb automatically polls which of the connected Nodes is a master.\nIf the master fails, multidb will try to find a new master,\nwhich might be found after promotion took place on a slave\nor the old master gets reconnected.\nActual management of master and slaves (such as promotion)\nis considered outside the scope of this package.\n\nThe Node and MultiNode types aim to be interface compatible with `sql.DB` and `sql.Tx`.\nMore specifically, multidb fully implements [SQLBoiler's](https://github.com/volatiletech/sqlboiler)\n`boil.Executor` and `boil.ContextExecutor` interface types.\nThis makes it an excellent fit for SQLBoiler's auto-generated models.\n(And perhaps other ORMs?)\n\n## Maturity\n\n`Beta` stage:\n - The intended design is fully implemented and unit tested with the race detector.\n - We are using this library in other projects and it is being tested for production\n\n\n## Dependencies\n\nThis package has been developed against Go 1.15, with module support and will not compile against older Go versions.\nThe core package is slim and only depends on the standard Go libraries. \nPackages in `drivers/` usually depend on their SQL driver counterpart.\nUnit tests pull in some additional packages like `go-sqlmock` and `sqlboiler`.\n\n## Installation\n\n````\ngo get -u github.com/moapis/multidb\n````\n\nFull test suite can be run with:\n\n````\ngo test ./...\n````\n\n## Documentation and examples\n\n[pkg.go.dev](https://pkg.go.dev/github.com/moapis/multidb)\n\n## Copyright and license\n\nCopyright (c) 2019, Mohlmann Solutions SRL. All rights reserved.\nUse of this source code is governed by a License that can be found in the [LICENSE](LICENSE) file.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoapis%2Fmultidb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoapis%2Fmultidb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoapis%2Fmultidb/lists"}