4 Replies Latest reply on Dec 14, 2005 4:35 AM by stedo

    Very Slow Perfomance

    stedo

      hi,

      I've just started running JBoss and I have deployed some simple Session Beans which return a string, just to check communication. I am calling the beans from a J2SE client on another machine in a local network (although it is still slow when I run local). Thing is that it takes around 20 seconds just to return a simple string.

      I am using the JBoss default setup, can anyone help??

      Thanks
      Steve

        • 1. Re: Very Slow Perfomance
          clebert.suconic

          You are probably doing something wrong.

          Why don't you explain your use/test case here?


          We have executed benchmarks with thousands of simultaneous threads using a Stateful Session Bean to go to a database, and return information in less then 0.5 seconds (in regular size servers, dual processed)


          Clebert

          • 2. Re: Very Slow Perfomance
            triathlon98

            My guess is you have to check your dns setup. Typically, even when addressing the server by ip address you have to have a name for the server as well, otherwise reverse dns loopups can kill performance.

            Joachim

            • 3. Re: Very Slow Perfomance
              lepe

              Second that - this day there was a customer having serious performance problem from one client. Tested with entering server info the the clients host file and what before took 28 secs is now <1 secs :)

              So do check your DNS!

              /L

              • 4. Re: Very Slow Perfomance
                stedo

                hi,

                Thanks for all your help. Looks like it's just the start up that's slow, once the client has connected the execution goes fine.

                Thanks
                Steve