Im trying to user Varnish between my php application and MySQLCluster to cache the Mysql query responses.
I tried just setting up the Varnish server so that when domain.com gets called the call is redirected to the MySQL Client, the problem is that then the PHP connect code stops working. I tried connecting via IP and via domain and both situations doesnt work.
So what im wondering is Is it possible to do what i want?
If yes how do i do it?
My goal here is to maximise the reliance on caching and reduce load on DB.
Thanks for the help.