• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Part 2: to cluster or not to cluster that is the question

 
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Just some thoughts on clustering.
Obviously it is a good way of improving availability. You can configure session replication and so if a server goes down in the middle of a stateful session you can still have high availability.
But, Clustering is not part of the Java EE spec and different vendors do it slightly different ways. If you really want to discuss how to do it, you have to go beyond the Java EE spec and think about what the vendor will over you.

You can still have availability without clustering. You just can't replicate sessions between servers. What you could do in this case of failure is redirect to user back to the beginning. If failure does not happen that often this should suffice.

As for load balancing - you don't need clustering to achieve this. So the main advantage is better availability. But this increased availability comes at a price. Clustering architectures are more sophisticated and need things like node agents and admin servers - so you have a great hardware cost (not much in fairness).

if this is not an explicit requirement why bother? Especially if you design on the basis that you could easily adapt to clustering to mitigate availability risks.

Discuss...

 
Ranch Hand
Posts: 69
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This question cannot be answered just from the technology perspective. It has to be answered in the context of business value that clustering brings. If the investment justifies in terms of increased business than why not?
reply
    Bookmark Topic Watch Topic
  • New Topic