6 Replies Latest reply on May 18, 2002 7:51 PM by jules

    JBoss web performance

    rickardoberg

      I'm trying out JBoss/Tomcat4. Unfortunately I'm seeing terrible performance due to bad JSP performance in Tomcat4. It's way slower than Orion or Resin.

      And JBoss/Jetty doesn't work well either, since Jetty does not yet support JSP 1.2.

      Are people really satisfied with this? Is someone seeing ok JSP performance? Are you using something other than JSP with JBoss/Tomcat|Jetty?

      /Rickard

        • 1. Re: JBoss web performance
          hunterhillegas

          I don't have major performance problems in that config, though since Apache connectivity isn't currently supported I haven't tested extensively...

          What kind of problems are you having?

          • 2. Re: JBoss web performance
            gerryd

            Check your log settings - last time I thought I had a performance problem I had some very verbose logs being created.

            • 3. Re: JBoss web performance
              rickardoberg

              I don't think logs are the problem. It's just a plain JSP that is running. The same JSP in Orion runs waaay faster, to the point where one wonders if something is wrong with Tomcat.

              So, are people really using JSP's with Tomcat? It seems too slow to be bearable...

              • 4. Re: JBoss web performance
                tcabot

                > Are you using something
                > other than JSP with JBoss/Tomcat|Jetty?

                Yeah, servlets with the Maverick framework. See http://mav.sf.net/.

                • 5. Re: JBoss web performance
                  joolzf

                  Did you ever sort out what was causing this? I am just porting our application from Orion to Jboss and have exactly the same problem.

                  My JSPs run way slower on Jboss than they do on Orion.

                  • 6. Re: JBoss web performance


                    There are a couple of possibilities here.

                    1. The obvious one, which I mention purely for the record and not to insult your intelligence... Orion may be precompiling JSPs at deployment time, Jetty doesn't (TC?). So the first time you hit the JSP you pay the price of on-the-fly-compilation. The second time will be faster. There is nothing preventing you from precompiling your JSPs yourself, before deploment.

                    2. Tomcat and Jetty both use the same JSP Engine - Jasper. I believe that Jasper is not the fastest piece of code in the world. It may well be that Orion have invested substantially in their own JSP engine - in which case there is not much we can do except wait for Jasper2 (I have seen rumours), avoid using JSPs, pay for your s/w, or kick off an OpenSource project to write a decent JSP engine (as part of JBoss - of course!).

                    But then, I may have missed something...


                    Jules