5 Replies Latest reply on Apr 22, 2004 3:12 AM by slaboure

    Bad performance in cluster configuration

      Hi everibody,

      I'm trying to use JBoss 3.2.3 in cluster with a software load balancer in front (using Apache 2 + modjk2). My JBoss is the standard download from sourceforge.

      When I start the cluster (two server running Windows 2000 pro) every single node slow down. For example, if I request for a simple JSP that just store a string in session and write a string on screen from a single node WITHOUT cluster up, the page i serverd in less than a second. If I have cluster up, the page i served in about a minute (55 to 60 seconds). I'm using sticky session. The problem still remains even if I call the node directly bypassing the Apache.
      Furthermore if i shut down a server the fault tolerance will be on after some minutes (2/3). I'm sure that there is something wrong, even if I follow documentation, forum, how to, ecc.

      Thank you very much in advance.
      Matteo

        • 1. Re: Bad performance in cluster configuration
          slaboure

          Can you make sure the clustering is up? what is displayed by jboss when it you start up the second node?

          • 2. Re: Bad performance in cluster configuration

             

            "Sacha Labourey" wrote:
            Can you make sure the clustering is up? what is displayed by jboss when it you start up the second node?


            Hi and thank you for your answer.

            Here is what you can see on the second node (just last lines, if you need all the log just ask me for it):

            08:06:34,446 INFO [Server] JBoss (MX MicroKernel) [3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)] Started in 1m:48s:176ms
            08:09:51,139 INFO [DefaultPartition] New cluster view: 3 ([10.229.224.4:1099, 10.229.224.63:1099] delta: 1)
            08:09:51,139 INFO [DefaultPartition:ReplicantManager] Merging partitions...08:09:51,139 INFO [DefaultPartition:ReplicantManager] Dead members: 0
            08:09:51,139 INFO [DefaultPartition:ReplicantManager] Originating groups: [[vesuvio:1418 (additional data: 17 bytes)|2] [vesuvio:1418 (additional data: 17 bytes)], [diapc666:1129 (additional data: 18 bytes)|0] [diapc666:1129 (additional data: 18 bytes)]]
            08:09:51,199 INFO [DefaultPartition:ReplicantManager] Start merging members inDRM service...
            08:10:51,215 INFO [DefaultPartition:ReplicantManager] ..Finished merging members in DRM service


            The first node is vesuvio, the second is diapc666.

            Bye
            Matteo

            • 3. Re: Bad performance in cluster configuration

              It seems that bad performance depends on session replication. Now I just deleted the distributable tag from the web.xml and all is fast like on a single node. But you need to wait more than 2 minutes in order to have fault tolerance to be activated, and, obviously, session is null on the other nodes.
              Now I'm going to analyze if do we really need session replication (as you ask us in your book about JBoss clustering) in order to achieve high availability.

              Thank you very much.
              Matteo

              • 4. Re: Bad performance in cluster configuration

                I found a network problem that causes bad performances: we are in a man and there are some router and swithces that don't block multicast, so my servers, that just for test were in the lan, talk in ipmulticast with all the lan and the remote lan too. There are two main lan connected with a slow line (64k) and there are about 70 workstations, so all the communication was infected by this. After having isolated the two servers the performance increased drammatically: now it seems to have two single nodes!!!
                I was so silly and I would like to excuse me with Sacha Labourey and I suggest everyone to check the lan configuration before saying JBoss 3.2.3 is slow.
                Bye
                Matteo

                • 5. Re: Bad performance in cluster configuration
                  slaboure

                  Good to see you get good performance!

                  Networking is always an "interesting" player in clustering setup.

                  Cheers,


                  sacha