Discussions

Performance and scalability: Scalability: Sticky Sessions vs.Clustering

  1. Scalability: Sticky Sessions vs.Clustering (2 messages)

    Hello, All

    What I lose if I size a system with Sticky HTTP Sessions on pres tier only, w/o clustering the EJB container instances ?

    Suppose the arch is 4-tier one:
    1. Apache + mod_caucho
    2. Resin (2 instances) <- sticky HTTP sessions + session replication as well
    3. JBoss (2 instances) <- separate instances or cluster ?
    4. DB
  2. What I lose if I size a system with Sticky HTTP Sessions on pres tier only, w/o clustering the EJB container instances ?



    failover, essentially.

    however, there is a certain communications overhead to clustering, so this may be an acceptable tradeoff.

    -tim.
  3. If the EJB tier is stateless, you may even be able to get "failover" without clustering the EJB tier. It depends on how "smart" the client is when it goes to call the EJBs. If it knows what servers are up, and picks one of those to do the stateless call on, then you still get failover.

    Peace,

    Cameron Purdy
    Tangosol, Inc.
    Coherence: Easily share live data across a cluster!