8000 GitHub - tz3/dbrouter: A lightweight and flexible Golang library for routing and managing database connections based on query types. DBRouter provides seamless support for database sharding, load balancing, and failover mechanisms, ensuring optimized performance and high availability for your applications.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ dbrouter Public

A lightweight and flexible Golang library for routing and managing database connections based on query types. DBRouter provides seamless support for database sharding, load balancing, and failover mechanisms, ensuring optimized performance and high availability for your applications.

License

Notifications You must be signed in to change notification settings

tz3/dbrouter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DBRouter:

DB Connection Router for cross-region databases, separating the ReadOnly and ReadAndWrite databases based on connection requirements.

Idea and Inspirations:

The DBRouter library manages your database connections by directing them to the appropriate databases. For instance, all SELECT queries are sent to the ReadOnly (Slave) replica database, while all write operations (INSERT, UPDATE, DELETE) are sent to the WriteAndRead (Master) database.

Checkout Picture:-

alt text

Instructions:

Download

go get -u github.com/tz3/dbrouter

Contribution:

To contribute you can Open PR/Issue with its corresponding details.

About

A lightweight and flexible Golang library for routing and managing database connections based on query types. DBRouter provides seamless support for database sharding, load balancing, and failover mechanisms, ensuring optimized performance and high availability for your applications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0