-
1. Re: Fuse performance and how to boost it up?
willem.jiang May 23, 2013 10:24 PM (in response to sergey.korn)Are you using Camel to do the routing thing?
Can you show us your route?
-
2. Re: Fuse performance and how to boost it up?
sergey.korn May 24, 2013 2:53 AM (in response to willem.jiang)Hi, yes we use Apache Camel for the routing.
Just to be sure, the problem is this route handles 5 messages per second on a machine with 1 CPU core and on a machine with 8 CPU core.
Also adding memory to the server doesn't effect the performance.
Here's the route:
<route id="replicatie-poc-route-1">
<from uri="activemq:queue:replicatiePoc-1" />
<choice>
<when>
<xpath>/CEDBVPF:POC_CEDBVPF</xpath>
<to uri="bean:pOCCEDBVPFHandler?method=handlePOCCEDBVPFMessage" />
</when>
<when>
<xpath>/CEDBYPF:POC_CEDBYPF</xpath>
<to uri="bean:pOCCEDBYPFHandler?method=handlePOCCEDBYPFMessage" />
</when>
<when>
<xpath>/CEDS1PF:POC_CEDS1PF</xpath>
<to uri="bean:pOCCEDS1PFHandler?method=handlePOCCEDS1PFMessage" />
</when>
<when>
<xpath>/CEDTKPF:POC_CEDTKPF</xpath>
<to uri="bean:pOCCEDTKPFHandler?method=handlePOCCEDTKPFMessage" />
</when>
<otherwise>
<to
uri="file:work/replicatie-poc/xpath-errors?fileName=message_${date:now:yyyyMMddhhmmss}-${exchangeId}.xml" />
</otherwise>
</choice>
</route>
-
3. Re: Fuse performance and how to boost it up?
willem.jiang May 24, 2013 9:27 AM (in response to sergey.korn)How did you configure the activemq component?
Did you try to use the pool connector as camel-activemq component[1] suggested?
-
4. Re: Fuse performance and how to boost it up?
sergey.korn Jul 5, 2013 3:40 AM (in response to willem.jiang)Hi,
We have found out that the disk I/O is out bottlneck.
Since we are using persistent messages the disk I/O performance is critical.
After we have upgraded the HDD the problem was solved.
-
5. Re: Fuse performance and how to boost it up?
ffang Jul 6, 2013 12:36 AM (in response to sergey.korn)Hi,
Thanks for the feedback and sharing the solution!
Freeman