Hi,

Let me apologize in advance for this question.  I'm new to J2EE and I know that 
I don't fully understand all the terminology and it's likely that I'm confusing 
terms and concepts.  Nevertheless...

I want an architecture like the following with the requirement that all data 
must always be in cache.

I have multiple application servers running in multiple geographic locations 
with caches and persistent storage.  Each AS has its own persistent storage.  
To keep the example simple, let's say I have locations A and B.

I have an application, Xa, running at location A and it is writing to cache at 
A and the writes are also persisted in the database at A.  The databases 
replicate data using the replication feature of the database.  So if data is 
written to the database at A it is replicated in the database at B.  But now 
the cached data in B is stale.  

1. At location B how do I detect that data has changed in the database and load 
it into the cache at B?  

2. Is this something that a cacheloader can do?

3. Is there a best practice for this type of scenario?

Thanks in advance for the help.

Regards,

Paul



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917697#3917697

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917697


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to