3 Replies Latest reply on Oct 10, 2005 12:58 PM by Elias Ross

    SOAP latency >= 20 ms

    Heiko Selber Newbie

      I did some tests with SOAP and JBoss 4.0.2 and it seems that a SOAP call to a stateless SessionBean takes at least 20 ms (if the SessionBean itself does nothing except for an empty method call).

      This is astonishingly independent of the environment: Whether I use a 1GHz single CPU PC or a 3GHz 4-CPU Server on either Linux or WinXP, I always end up with 15 to 25 ms.

      Where does the time go? It's definitely not the network latency, nor CPU overload.

      Is there a way to speed it up? I need JBoss to respond in less than 5 ms.

      Any help would be appreciated.

      PS: I read in this thread http://www.jboss.org/index.html?module=bb&op=viewtopic&t=24284 that 20 ms is actually quite good and might be the end of the pole, but I would like it a bit faster, and 3 years have passed, so it might not be so difficult...