Mobile app version of vmapp.org
Login or Join
Bryan171

: Can I place a caching server in a remote location? 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

@Bryan171

Posted in: #Cache #Server

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.


Can I add a caching server which is located in the US?
Will there be any delay in fetching the cached content from the remote location?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Bryan171

2 Comments

Sorted by latest first Latest Oldest Best

 

@Phylliss660

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.

10% popularity Vote Up Vote Down


 

@Gloria169

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.
Delay can depend on a number of factors - Although, as William David Edwards pointed out, closer is better.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme