Regarding replication of cache - Please help ...i am in great need
Srikanth P <[email protected]> Fri, 6 Nov 2009 10:53:38 -0800
| Newsgroups | gmane.comp.jakarta.turbine.jcs.devel |
|---|---|
| Message-ID | <[email protected]> |
--00504502cc2bcae55c0477b85df8 Content-Type: text/plain; charset=ISO-8859-1 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. 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 --00504502cc2bcae55c0477b85df8--