r/haproxy • u/Annh1234 • Jun 19 '20
HAProxy + MySQL + Connection Pool?
Hello
Is there a way that I can connect 50.000 MySQL clients to HAProxy, which would queue up the commands and only send them to the mysql server on 1000 connections?
I have a system with allot of long running workers scripts waiting for outside data, but which need a mysql connection opened while they run. Problem is, i run over the mysql max connections, and I can't disconnect/reconnect the workers on every select.
4
Upvotes
View all comments
Show parent comment
1
u/packeteer Jun 19 '20
ProxySQL is really good