Can Varnish be used to front end a pool of mariadb/mysql servers? I see that it does not handle any non-http requests and gives 503 error.
Asked
Active
Viewed 203 times
2 Answers
3
Varnish is a HTTP Cache, so no it cannot act as a frontend for MariaDB/MySQL, unless you were trying to access them via HTTP.
I would recommend HAproxy as a frontend / load balancer solution for MariaDB/MySQL pool.

Justin Hourigan
- 345
- 1
- 9
1
No, Varnish is designed for http traffic and is not suitable for load-balancing mysql/mariadb

rangfu
- 156
- 3