5 Replies Latest reply on Oct 31, 2013 12:48 AM by jaikiran

    Why is Jboss web http connect so slow? - Over 250ms for a simple servlet/jsp

    joshva

      Hi,

       

      I have noticed that Jboss is insanely slow to render a servlet or a simple JSP (example below).

       

      I have tried jboss 6.1 as well as jboss 6.2 beta and wildfly 8.0.0 beta. The same issue occurs in all using 100% default configuration

      I have tried using apache mod_jk ajp as well as pure http direct to Jboss. The same issue occurs

      I have tried repeatedly calling so its definitely not the JSP compile issue.

       

      The following example renders in 250ms:

       

      173.1.18.180:8082/images/index.jsp

       

      The following example of an image file renders in 50ms (even though it has more content):

       

      173.1.18.180:8082/images/TestImage.jpg

       

      Sample index.jsp code

       

      <%@page contentType="text/html" pageEncoding="UTF-8"%>

      <!DOCTYPE html>

      <html>

          <head>

              <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

              <title>JSP Page</title>

          </head>

          <body>

              <h1>Hello World!</h1>

          </body>

      </html>

       

       

      Any help would be greatly appreciated! We can't run like this