1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hostng / DNS location and good response times

Discussion in 'General Programming Chat' started by BloodyNinja, Jul 5, 2014.

  1. BloodyNinja

    BloodyNinja Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 28, 2013
    Messages:
    445
    Likes Received:
    277
    Location:
    Deeptown
    Sorry, this is not exactly on programming topic but didn't find any better category for this.

    I need to make a multilingual website (think portal), which should be equally available from US/Canada, Western Europe, Eastern Europe and Russia. Which hosting option should I choose:
    1. Hosting in NL with image copying to DCs in USA, Eastern Europe and Russia
    2. Separate websites in each of four areas with data synchronization between them.

    The website is full of dynamic content, so there's no way of using CDN's other than for images only, which can be done without CDN service providers.

    May be anyone knows how networks like facebook, linkedin etc operate?

    Another question is what DNS server to use. Does it's location matter at all? Would DNS server in Europe slow down website's response times for USA visitors?

    Thank you guys for any input
     
  2. k0d3r

    k0d3r Newbie

    Joined:
    Feb 17, 2013
    Messages:
    36
    Likes Received:
    28
    Location:
    Keyboard
    Hi BloodyNinja,

    Services like facebook and linkedin have datacenters spread all over the world.
    The DNS would not make much difference, usually the browsers cache the IP and use it for a long time.

    It seems like you have a big project,
    If you plan to go BIG I would recommend you ask for help on a IaaS provider, they will help to configure the ideal setup for your needs.
    I highly recommend Softlayer, they have datacenters in North America, Europe and Asia, they also have a great customer support IMO.
     
  3. jazzc

    jazzc Moderator Staff Member Moderator Jr. VIP

    Joined:
    Jan 27, 2009
    Messages:
    2,468
    Likes Received:
    10,143
    Separate instances of your app per DC. Then you 'll set up your DNS in that way so that an EU user gets served by the EU datacenter etc. You 'll need to implement data sync between the DCs but if you do it properly depending on the actual use case, it won't be an issue.
     
  4. BloodyNinja

    BloodyNinja Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 28, 2013
    Messages:
    445
    Likes Received:
    277
    Location:
    Deeptown
    Thanks, this seems to be a good idea. I'll try contacting these guys.

    okay, at least now I know this is possible.
    Filesync should be easy to do but I am a bit concerned about proper DB sync, when there are thousands of DB queries per second. Will try to google that further.
     
    Last edited: Jul 15, 2014
  5. jazzc

    jazzc Moderator Staff Member Moderator Jr. VIP

    Joined:
    Jan 27, 2009
    Messages:
    2,468
    Likes Received:
    10,143
    Read requests or write requests? For read requests a (write)master-(read)slaves set up will be adequate. Write scaling is harder. If your application doesn't really need ACID, an asynchronous master-master set up will work fine.
     
    • Thanks Thanks x 1