Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Let's say I have one server acting as HTTP and MySQL server located in the UK, and I want to add a caching server, for example, Redis or Memcached.

  1. Can I add a caching server which is located in the US?
  2. Will there be any delay in fetching the cached content from the remote location?
share|improve this question
1  
1) Yes, why not? 2) Well, the closer to the UK the better. –  William David Edwards Aug 1 at 8:17

2 Answers 2

Yes you could do this, but it's not a good idea. Ignoring the security aspect, there will be a delay of at least 100-150ms when fetching cached content (the latency between your UK and US servers). This is an eternity in page generation terms.

share|improve this answer
    
+1 for specifying ms –  William David Edwards Aug 1 at 8:57
  1. Yes, this can be done. Although you will have to make sure that the daemon is setup to accept external connections. Be sure to take a look at this question on authentication /w an external Memcached server.
  2. Delay can depend on a number of factors - Although, as William David Edwards pointed out, closer is better.
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.