• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Access jboss distributed cache in sequential manner

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic