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?
  • 1
    1) Yes, why not? 2) Well, the closer to the UK the better. – William Edwards Aug 1 '14 at 8:17

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.

| improve this answer | |
  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.
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy