On Thursday, 11 October 2012 20:28:06 UTC+5:30, Kiran Kumar wrote: > > I am working on a heavy traffic web site , where there will be GB's of > data written per minute into our Memcache . So we have decided to use two > separate instances of Memcache for the application . >
> > Memcache1 Memcache2 > \ / > \ / > \ / > \ / > \ / > \ / > CustomerData > > So right now as per the set up , there are two Memcache instances for a > single application . > > Now my question is , once we recive a value inside the application , which > writes/sets to both the Memcache instances , assume that if a key is read > one of the instance of Memcache - 1 , i need to delete the same key on the > other instance of memcahce also at the same time , so taht they will be in > sync with each other . > > As per the code point of view once a value is read from Memcache , i am > deleting that key . > So conclusion is , it writes to both the instances and read reads from any one .
