2 Replies Latest reply on Feb 14, 2007 4:10 PM by Thomas Diesler

    JBossWS performance

    erdem Demir Newbie

      I am trying to compare stateless beans' performance to JAX-WS web services. So, I deployed a very simple stateless bean with a simple "ping" method and used @WebService to expose it as a webservice on JBoss 4.0.5.

      Using multiple (16) standalone clients from a client machine I can get around 1700 req/sec from the stateless bean deployed on a saturated 1GHz machine (95% cpu by JBoss, 18 Mbps in, 7Mbps out at peak).

      Using multiple (6) axis clients from the client machine I can only get 190 req/sec under exact same settings on the 1GHz machine (97% cpu by JBoss, 1.7Mbps in, 1.6Mbps out at peak)

      I know that Webservices are generally slow due to XML (de)marshalling but JAX-WS service is an order of magnitude slower than the stateless bean. Is my observation consistent with what other people are experiencing with JBoss?

      Server: linux 2.6.17, java 1.5, JBoss 4.0.5