Yes. E.g. let's assume your client hash function is *modulo, *then
(1) all keys where *key* % *number_of_servers* ==0 --> will be stored on 10.1.1.1 and (2) all keys where *key* % *number_of_servers* ==1--> will be stored on 10.1.1.2 On Mon, Oct 29, 2012 at 7:22 PM, Kiran Kumar <krn1...@gmail.com> wrote: > have two servers on which two web servers and two memcache servers are > installed . I specified Order Of servers for building the Memcache client > this way > > String location = "10.1.1.1:11211 10.1.1.2:11211"; > MemcachedClientBuilder builder = new XMemcachedClientBuilder( > AddrUtil.getAddressMap(location), new int[] {1,3}); > > Will this order make any difference in accessing data , if the web and > memcache servers were installed in the same machiene itself ?? > -- Yiftach Shoolman +972-54-7634621