You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by xiangqiuzhao <xi...@gmail.com> on 2012/04/25 09:24:29 UTC

Re: how to improve concurrent performance use cxf in Camel?

i make a pressure test. the client  send 50 threads with 5minutes using
soapUI, and my application use camel recevie webservices request,
application running on linux, use Xmx512m on jvm. but the top display RES
column has 1400m memory, why? i wan't to know how the cxf manager the
threads. and how to configure the threadPool size.

--
View this message in context: http://camel.465427.n5.nabble.com/how-to-improve-concurrent-performance-use-cxf-in-Camel-tp5131454p5664080.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: how to improve concurrent performance use cxf in Camel?

Posted by Willem Jiang <wi...@gmail.com>.
It dependes how you define the address, in most case jetty transport 
will be use by default.
Can you show me your camel route ?

On Wed Apr 25 23:13:59 2012, xiangqiuzhao wrote:
> i use camel-cxf in apache ofbiz, so my services should be using the tomcat?
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/how-to-improve-concurrent-performance-use-cxf-in-Camel-tp5131454p5665140.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



--
Willem
----------------------------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang


Re: how to improve concurrent performance use cxf in Camel?

Posted by xiangqiuzhao <xi...@gmail.com>.
i use camel-cxf in apache ofbiz, so my services should be using the tomcat?

--
View this message in context: http://camel.465427.n5.nabble.com/how-to-improve-concurrent-performance-use-cxf-in-Camel-tp5131454p5665140.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: how to improve concurrent performance use cxf in Camel?

Posted by Willem Jiang <wi...@gmail.com>.
I just assume you are using the cxf-rt-transport-http-jetty.
Jetty has a default thread pool which max-size is about 254  ,min-size 
is 8.
If you are using camel-cxf component to provide the service,  the jetty 
default thread pool will be used.

Xmx is just the heap size, it is not the process memory resource size.

On Wed Apr 25 15:24:29 2012, xiangqiuzhao wrote:
> i make a pressure test. the client  send 50 threads with 5minutes using
> soapUI, and my application use camel recevie webservices request,
> application running on linux, use Xmx512m on jvm. but the top display RES
> column has 1400m memory, why? i wan't to know how the cxf manager the
> threads. and how to configure the threadPool size.
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/how-to-improve-concurrent-performance-use-cxf-in-Camel-tp5131454p5664080.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



--
Willem
----------------------------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang