HI ,
It replicates the objects to both configured nodes. So you can read the 
cached value on all nodes even if it was added through the memcached on the 
other node.

In the normal memcached there is a constant hash algorithm so you will hit 
the correct server (SERVER1) when reading a previously set value. When this 
server goes down I assume you just "cache-miss" and get your data directly 
from the database and then cache it on another memcached node (SERVER2).

I would assume REPCACHED would give some kind of HA. I configured both 
servers (SERVER1 & SERVER2) with REPCACHED. Now I need to set the object to 
SERVER1. Same object will replicated to SERVER2.

My question is if data is not found in SERVER1 then after i need to access 
from the SERVER2 using REPCACHED api. 

See the below diagram for more clarification.   

   1. 
   
   Whenever CLIENT makes write a request to SERVER1 and then REPCACHED will 
   do automatically data write to SERVER2.
   
   2. 
   
   Whenever CLIENT makes read a request from SERVER1, IF data not found in 
   SERVER1 then data get from the SERVER2 and then response sent to the CLIENT.
   
 
   1. 
   
   I was done with write in SERVER1 and SERVER2. But I am not able to get 
   when I am using READ from the SERVER1. (See the 2 point).This is my concern 
   it possible to using REPCACHED.
   
  Software : Memcached and Repcached.  

 

Thanks in advance!

 

Regards,

Sekhar.

 

 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to