You can use any IP address as long as you can make a connection to it. It
doesn't matter the IP address.

Each server acts as a "pool". Your client application decides which server
to contact depending on the key (or any other parameters you specify in your
client code).

2 things I would worry about when using separate data centers is response
time and security. All messages to and from memcached
are not encrypted, so you may wish to run it under a tunnel, but that would
also increase the response time which is counter productive.

Hope this helps,
Raymond


On Mon, Jul 20, 2009 at 4:46 PM, meiji <[email protected]> wrote:

>
> I am curious what is the network requirement to build the memcached
> servers across data centers. Do they need to be on the same network
> subnet?
>
> for instance,  the servers on data center A are  with 10.1.1.0/24,  do
> the servers on data center also require 10.1.1.0/24, so that they will
> be in the same network broadcasting domain ( 10.1.1.0/24)
>
> Thanks in advance.
>
> Meiji
>

Reply via email to