I have a relatively big website so I am trying to serve web from one server and process MySQL on another server.
The problem is that when the website and database are on the same server , website pages are very fast but when I put the website on another server (both are dual xeons in ev1servers.net with the same apache configuration) it becomes very very slow (2 seconds when served in the same server in comparison to 8-12 seconds or slower on the other).
I have tested connection speed using FTP and I was able to transfer 15M Bits/s. Amount of data being transfered for each page is less than 20KBytes and website is not acive yet so this is the only data being transfered between two servers. (so why is it slow?!!!)
1- Would someone please advise if the problem is from connection speed between two servers?
2- Does a "Private Rack" service help with the problem? (as servers are on a dedicated high speed switch)
My MySQL config: