Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


243 posts

Master Geek
+1 received by user: 4


Topic # 159810 13-Dec-2014 13:23
Send private message

I run a website which I had hosted in the UK as it is about Premier League football scores. hidemyscore.com However, as I should have guessed, it now seems my users will mostly be based in Asia and also Australia from where load times from the UK are pretty poor.

Is there a way I can have some kind of 'mirror' for Asian users?
What are speeds from Asia to Australia like?
Or should I simply host in Asia, in which case does anyone have any recommendations?

Thanks

Dave




My EPL football websites: Get the results but hide the score of your team at HidetheScore.net. Compare league positions with wage bills at RealPremierLeague.net.


Create new topic
21 posts

Geek


  Reply # 1196850 13-Dec-2014 13:31
Send private message

Look at CDN options

BDFL - Memuneh
61327 posts

Uber Geek
+1 received by user: 12068

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 1196851 13-Dec-2014 13:33
Send private message

Start using Cloudflare. Resources such as images, scripts and CSS will be cached by the CDN. The content itself will still come from your site (unless it's static pages in which case they can also be cached).

You register, add the domain name, load the DNS information, confirm it's correct, then change the NS settings in the domain registrar. After a bit it will start being cached from everywhere.






14150 posts

Uber Geek
+1 received by user: 2546

Trusted
Subscriber

  Reply # 1196864 13-Dec-2014 13:53
Send private message

If you want html cached you can use pagerules on Cloudflare. Another option is Amazon Cloudfront, it does similar to CloudFlare but you can do things like pipelining so the original html is fetched via the CDN which does help performance due to TCP optimisations. Given CloudFlare is free I'd try that first.

You can also set up some kind of a mirror in Asia, on a host or on an Amazon node. If you have two app servers running against a shared database that could be tricky.




AWS Certified Solution Architect Professional, Sysop Administrator Associate, and Developer Associate
TOGAF certified enterprise architect
Professional photographer




243 posts

Master Geek
+1 received by user: 4


  Reply # 1197085 13-Dec-2014 22:16
Send private message

Thanks, I'd not heard of CDN before. Some of my content comes from xml files on the server...will this be unaffected? It should always read the updated xml file.




My EPL football websites: Get the results but hide the score of your team at HidetheScore.net. Compare league positions with wage bills at RealPremierLeague.net.


1623 posts

Uber Geek
+1 received by user: 275

Subscriber

  Reply # 1197088 13-Dec-2014 22:31
Send private message

Ultimately the slowest item to load will be the bottleneck for you users.  The CDN may take care of loading 70% of a pages content faster, meaning a slow load on 30% of the content, vs 100%.  How bigs the XML file, and how is it created?  I would move hosting to Asiaand utilise a CDN

BDFL - Memuneh
61327 posts

Uber Geek
+1 received by user: 12068

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 1197105 14-Dec-2014 00:24
Send private message
14150 posts

Uber Geek
+1 received by user: 2546

Trusted
Subscriber

  Reply # 1197144 14-Dec-2014 08:42
Send private message

You just have to tell the CDN what to cache. If you have it serve jpeg, css, gif and other files that rarely to never change it will take the load off your server (slightly) and save bandwidth. If the xml files change hourly you can set it up so they're served for an hour then it gets the updated one, but if they're constantly accessed best tell it not to cache them.

It's fairly simple to set up, just make sure to test after it's in. If you're going to set it up suggest you change your DNS TTL from whatever it is now down to say 10 minutes (600 - it's in seconds) 24 hours in advance of making the change. That way if something goes wrong you can roll back reasonably quickly rather than the site having problems for 24 hours.




AWS Certified Solution Architect Professional, Sysop Administrator Associate, and Developer Associate
TOGAF certified enterprise architect
Professional photographer


Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.