Knowledgebase

Portal Home > Knowledgebase > Articles Database > Remote MySQL


Remote MySQL




Posted by HostFriendly, 12-02-2012, 05:51 PM
Hi, Hosting script in Europian Server(Hetzner), and MySQL in USA (Softlayer) caused incredibly much latency in the speed. As much as 2-3 seconds latency. The script is vBulletin. I dont know if this is normal or not ? I understand that data travels longer distance, and latency is inevitable. But when i use php proxy script in EU server to surf the sites in hosted in the USA server, the latency is not that much. Can you advice ? Regards.

Posted by TravisT-[SSS], 12-02-2012, 06:21 PM
NEVER EVER host a remote MySQL on a server not on the same local subnet. It's just not ideal along with many other reasons.

Posted by HostFriendly, 12-02-2012, 06:47 PM
Hi, Thanks for advice, but can you please elaborate the reasons ?

Posted by TravisT-[SSS], 12-02-2012, 06:59 PM
Number one main reason: It's slow.

Posted by DeltaAnime, 12-02-2012, 07:02 PM
You have that latency for every single SQL query. Francisco

Posted by HostFriendly, 12-02-2012, 07:38 PM
Ok. I got the idea. But what is interesting for me, if we use main server as a proxy to access the remote server, the latecy is not considerable. But when it comes to MySQL, the latency is much. Regards.

Posted by aeris, 12-03-2012, 03:45 AM
Because a HTTP proxy would typically just be one roundtrip. If you have 200ms roundtrip latency and the average page generation involves ten queries, that's two seconds of network delay alone.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Windows Reseller Host (Views: 564)


Language:

Contact us