jakarta-jcs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srikanth P <aries.srika...@gmail.com>
Subject Regarding replication of cache - Please help ...i am in great need
Date Fri, 06 Nov 2009 18:53:38 GMT

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.

What I want to know in particular is " how to replicate  cache over cluster
using JCS?"  and " What has to be done in case of master server failure?"

Thanks and Regards,
Sri Kanth

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message