wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes Access jboss distributed cache in sequential manner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Access jboss distributed cache in sequential manner" Watch "Access jboss distributed cache in sequential manner" New topic
Author

Access jboss distributed cache in sequential manner

Gaurav Bhatia
Ranch Hand

Joined: Jan 01, 2007
Posts: 49
Hi,

I have a query :

Environment :
Two jboss servers running, a distributed cache is shared between them and they add data to it. Both have simultaneous threads reading and processing data from the cache.
I need to ensure that data is fetched from both servers sequentially.

Solution : Run both nodes and using HASingleton mode of clustering, only the master node processes data. As and when the master goes down, slave gets notified and starts processing.

Problem : Reading through lots of articles, i learned that in HA singleton clustering, only one node has the war or application deployed. Second node deploys the application only when the first or master dies.
I dont want that case. I need both nodes up and running, but only master doing the processing of messages. Cannot afford any downtime.

Thanks in advance.

Gaurav


~Gaurav<br />SCJP5
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Access jboss distributed cache in sequential manner