5 Replies Latest reply on Mar 8, 2004 8:31 AM by slaboure

    Clustering http sessions on 50 computers?

    urddd

      I would like to know if anyone has ever used http session clustering to relipcate http sessions on many hosts (not 3-4 computers but rather 50-100).

      Is anyone doing this right now?

      If you thing this is not possible (because of network congestion or because it's too cpu / memory consuming), please tell us your exprience.

        • 1. Re: Clustering http sessions on 50 computers?
          slaboure

          Hello,

          it all depends on the number of sessions that will be handled in the whole cluster => memory usage. Other than that, multicast is used so it should help.

          Otherwise, it would be pretty easy to implement static sub-partitionning in the current 3.2 releases.

          Cheers,


          sacha



          • 2. Re: Clustering http sessions on 50 computers?
            benvenutto

             

            "slaboure" wrote:

            Otherwise, it would be pretty easy to implement static sub-partitionning in the current 3.2 releases.

            Sacha

            Could you please explain further what you mean by static sub-partitioning?
            Is it possible to deploy beans in one sub-partition, and only Tomcat in another sub-partition?

            • 3. Re: Clustering http sessions on 50 computers?
              slaboure

              sub-partitionning (SB) means that if you have 50 nodes, we would create 25 sub-partitions (for a sub-partition size of 2, this can be defined) and that each sub-partition only replicates the state of the other node in that particular sub-partition (1 other node in that scheme).

              Static SB means that YOU define this set of sub-partitions "manually" and that the topology of these nodes will not change unless you decide to do so.

              Dynamic SB means JBoss is responsible, give a SB size, to create automatically this set of SB and assign nodes to them. Then, once a node dies, it is also responsible to automatically re-assign single nodes or new nodes to existing SB, etc.

              Static is most of the time enough (or what people want because they take the decision and don't let JBoss do it).

              Cheers,


              sacha

              • 4. Re: Clustering http sessions on 50 computers?
                benvenutto

                Sacha I apologise, what I meant to ask was... how would you achieve sub-partitioning with JBoss?

                My understanding is that you define a partition by partition name, multicast IP and port number, and that this constitutes a parttion Id. If I have enabled farming and deploy to the partition, my deployment replicates to all servers, home instances are registered in each JNDI, etc.

                Is there a way to deploy to a subset of the cluster (a sub-partition)?

                cheers

                Simon

                • 5. Re: Clustering http sessions on 50 computers?
                  slaboure

                  ah, ok.

                  in short:
                  - each node can be part of multiple partitions/cluster
                  - whenever you deploy an EJB, a web-app, HA-JNDI, farming, etc., you can tell it in which partition it should be deployed

                  Cheers,


                  sacha