File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Epractize question? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Epractize question?" Watch "Epractize question?" New topic

Epractize question?

Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 850
With the release of a new product line, there has been a significant increase in the volume of transactions on your web site. You need to scale your application and manage session failover. What is the best option for scalability?
A. Add additional web servers and application servers
B. Introduce a High Availability pair and utilize sticky sessions
C. Add additional application servers and implement DNS round robin
D. Add additional application servers and use clusteredHttpSession

The answer marked is D. I cannot understand, why not A?

When generally scalability is talked, it is always more about hardware's & resources rather than configurations like clusteredHttpSession.

SCJP 1.4, SCWCD 5, SCBCD 5, OCPJWSD 5,SCEA-1, Started Assignment Part 2
My blog-
kumar naresh
Ranch Hand

Joined: Mar 12, 2011
Posts: 120
If the answer is A then how do you handle session failover which is key point in the question. From all the options provided which is the best option which can satisfy all the criteria.

Session Failover: In cluster environment for a user session all the requests are directed to the same server to maintain this and to handle fail over, if a server while servicing a request if it goes down OR if server has taken more time to process the request. To handle these kind of scenarios clusteredHttpSession is one the ways to achieve.

Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 850
Thanks for reply, Oops I almost overlooked the word session failover.

I don't know why it happens sometimes, instead of focusing on all the facts of the question, somehow I get to concentrate on the last piece question only (
What is the best option for scalability?
I agree. Here's the link:
subject: Epractize question?
jQuery in Action, 3rd edition