5 Replies Latest reply on Oct 25, 2012 8:31 PM by hrudayk16

    Jboss AS7.1.1 Concurrent request

    hrudayk16

      Hi All,

       

      Installed/Configured AS 7.1.1 and would like to know following when running in standalone mode:

       

      1. How many concurrent request the server can process.

      2. Will the server drop request after max request?

       

      Following is the configuration;

      1. Env: Windows

      2. Processor 1

      3. RAM : 1 GB

      4. JDK1.6

       

       

      Thanks

      Hruday

        • 1. Re: Jboss AS7.1.1 Concurrent request
          nickarls

          If you are talking about http requests, check out max-connections in http://docs.jboss.org/jbossweb/7.0.x/config/http.html

           

          I'm note sure what happens when the limit is hit (block, drop or exception)

          • 2. Re: Jboss AS7.1.1 Concurrent request
            wdfink

            The number of requests depend on the application and the system.

            If there are not enough resources (threads, connections) the server block the incomming request until a resource is free.

            Unfortunately there in some cases the system become instable, this will be the case if the file handler limit is reached or the amount of memory.

            • 3. Re: Jboss AS7.1.1 Concurrent request
              erasmomarciano

              Hi

               

              I don't think that if is good server

               

              1. Env: Windows

              2. Processor 1

              3. RAM : 1 GB

               

               

               

               

              With RAM 1GB you could have easily a OUT.OF.MEMORY

               

              With Windows you coutld have an block system

               

              At any rate the number request depends on your application.

              • 4. Re: Jboss AS7.1.1 Concurrent request
                ctomc

                erasmo2 marciano2 wrote:

                 

                Hi

                 

                I don't think that if is good server

                 

                1. Env: Windows

                2. Processor 1

                3. RAM : 1 GB

                 

                 

                 

                 

                With RAM 1GB you could have easily a OUT.OF.MEMORY

                 

                With Windows you coutld have an block system

                 

                At any rate the number request depends on your application.

                that is just wrong asumpsion

                 

                depends on what kind of cpu, how fast ram, what version of windows (i hope that windows server) and what architecture, for 64bit 1gb would be too low.

                In many cases windows server can perform as fast or even faster than linux conterparts, but it really depends on application and how you configure your server.

                 

                I had a chance to stess tests some software that was runing with 512mb of jvm heap in windows & linux server with 2vcpu (xeon x series 2.8ghz) and 1gb of ram and i could get 100K+ req/sec

                all that was done on 32bit systems with 32bit jvm

                but then again, it all comes down to your application.

                 

                --

                tomaz

                1 of 1 people found this helpful
                • 5. Re: Jboss AS7.1.1 Concurrent request
                  hrudayk16

                  Thanks Tomaz, The input was very helpful.

                   

                  The exact server configuration is

                  Windows NT 2008 server (64 bit) with 1core CPU of 2.8GHZ

                  Following is the JVM configuration : -Xms128M -Xmx512M -XX:MaxPermSize=256M.

                   

                  I have apache 2.2.22 connected with jboss using mod_jk and apache maxClient configuration 150

                   

                  My implementation is to process webservice request, do some processing with request XML string and send response back(total time to process is 200 milliseconds). With Apache MaxClient config set to 150 and ThreadPerChild = 25, does this mean that jboss can receive max 150 concurrent webservice request and it will process the request as resources are available.

                   

                  Thanks

                  Hruday