Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Access jboss distributed cache in sequential manner  RSS feed

Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!