Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
database/sql: Documetation: Connection Pool with reverse proxy #28524
I have created a connection pool for the purposes of multiple read replicas.
I have HAProxy being used as a reverse proxy which provides a host url which links to multiple host urls (randomly allocated).
When I create the connection pool, If I type in the host name to be the HAProxys host name, will there be any weird side-effects in how the connection pool works.
In common connetion pools such as in Java, this approach works fine.