You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-users@jakarta.apache.org by Srikanth P <ar...@gmail.com> on 2009/11/06 01:21:18 UTC

Regarding replication of cache - Please help

Hi,

Pardon my ignorance. I am not very familiar caching mechanisms. Please go
through the following scenario and help me

*Scenario: *
*
*
There are two servers A and B (say). A has to fetch the data from database
and put it in its cache. This cache has to be replicated to server B. In
case of failure, B should take the responsibility of fetching the data from
database and putting in cache. When "A" comes up then again "A" should be
the master server and it should fetch the data from DB and put it in cache
and replicate the cache to B.


One more thing is, we are planning to expose the data in the cache as a
webservice. When the client access the webservice, then it should get the
cached data in the form of XML.


Please tell me how to implement the above scenario using *JCS* cache and
provide any useful url's that I can go through. Even if you have any POC's
please share.


Thanks and Regards,
Sri Kanth