1

I live in Brazil and I'm planning on hosting my website in either DreamHost or Digital Ocean, which don't have any servers in my country. Will that affect the loading speed of my site?

Thanks!!!

asked Feb 11, 2015 at 0:48

2 Answers 2

6

The speed of light is 299 792 458 m/s. The circumference of Earth is 40 075 000 m. This means that if the data center is at the opposite side of the Earth, the delay will be at least 0.067 s., that is 67 ms. Noticeable for critical applications where every millisecond counts, such at the home page of Google or a financial sector app; not noticeable for a personal blog or a forum.

The closest Amazon data center, for instance, would be probably in Jacksonville, Florida, USA. The distance is approximately 6 000 km to the center of Brazil (if you're in the south of Brazil, you're out of luck), which translates into 20 ms.

You should also take in account that the time the packets are spent traveling through routers, which may increase the waiting time, and that they hardly travel in a straight line. This being said, the additional time is still probably not too much for an ordinary website.

Conclusion: if the hosting company has several data centers around the world (such as Amazon AWS), hosting a web app in geographical proximity to the customers can be nice. But for most web apps, it's not what will make a radical change in the perceived speed of your app.

answered Feb 11, 2015 at 1:09
2
  • I'm actually in Northern Brazil! And Amazon does have a data center in Sao Paulo. I just find it too hard to set up an Amazon server as compared to other hosting companies. Commented Feb 11, 2015 at 1:32
  • @newbie: Amazon documentation is very complete, but indeed can be a bit overwhelming. Still, both Microsoft Azure and Amazon EC2 are worth ones time. Make sure to check other cloud computing providers (Rackspace comes in mind, although there are plenty of others). Finally, if you have a specific problem, don't forget ServerFault (but make sure to check if the question is on-topic). Commented Feb 11, 2015 at 1:42
2

Yes, it matters. The signals may travel at light speed (or a reasonable fraction) but there are many rest stops called routers along the way. Your data gets stopped, buffered, and stuffed down another pipe, competing with other traffic for bandwidth. The fewer routers in the path, and the fatter the pipes, the better your site will load.

That said, unless your site is a twitch-level shooter, or you're sending gigabytes of data, your users probably won't notice. The main thing that matters will be the bandwidth available from your actual host. Cheap connections may not provide much (you get what you pay for).

answered Feb 11, 2015 at 4:55

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.