I am using servicemix-web-3.3.1,runing in weblogic 10.3.
I developed proxy service with servicemix-cxf-bc and servicemix-camel,the
follow is:
external client(load
runner)===>cxf-consumer===>camel===>cxf-provider===>external echo service
My jvm parameter is:
-Xmx1400m -Xms1400m
serviceMix's config:
servicemix.corePoolSize = 32
servicemix.maximumPoolSize = 128
servicemix.queueSize = 1024
I also reconfig the threadpool for the component:
<property name="configs">
<map>
<entry key="component.servicemix-cxfbc">
<bean
class="org.apache.servicemix.executors.impl.ExecutorConfig">
<property name="corePoolSize" value="64" />
<property name="maximumPoolSize" value="-1" />
<property name="queueSize" value="0" />
</bean>
</entry>
<entry key="flow.seda.servicemix-cxf-bc">
<bean
class="org.apache.servicemix.executors.impl.ExecutorConfig">
<property name="corePoolSize" value="32" />
<property name="maximumPoolSize" value="-1" />
<property name="queueSize" value="0" />
</bean>
</entry>
<entry key="flow.seda.servicemix-camel">
<bean
class="org.apache.servicemix.executors.impl.ExecutorConfig">
<property name="corePoolSize" value="4" />
<property name="maximumPoolSize" value="-1" />
<property name="queueSize" value="512" />
</bean>
</entry>
</map>
(1) 20 concurrency , performance:60 Hits per Second,runing well;
(2)50 concurrency , performance:80 Hits per Second at the beginning,but
will go down to 50 Hits per Second after about 5 minutes,then go down to
30 after 60 minutes.
(3)120 concurrency , performance:60 Hits per Second at the beginning, will
go down to 50 Hits per Second after about 5 minutes,then go down to 30
after 60 minutes, at last 10 after about 8 hours.
No matter how I increase the number of concurrent client , the throughout
will not increase.
And I found that the key parameter is the camel's corePoolSize,
If I increase this parameter, throughput significantly decreased ,It seems
the best value of this parameter is 4。
And I used the netstat command to see network status,I found that,the
connections of client to cxf are 120, but the connections of cxf to
external service are only about 20!
Is there anything configured wrong?
--
View this message in context:
http://old.nabble.com/Load-Test-for--servicemix%27s--proxy-service-tp26420227p26420227.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.