You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Otavio Rodolfo Piske (Jira)" <ji...@apache.org> on 2023/05/29 11:31:00 UTC
[jira] [Created] (CAMEL-19398) camel-core: type converter performs slowly due to exception-based flow control
Otavio Rodolfo Piske created CAMEL-19398:
--------------------------------------------
Summary: camel-core: type converter performs slowly due to exception-based flow control
Key: CAMEL-19398
URL: https://issues.apache.org/jira/browse/CAMEL-19398
Project: Camel
Issue Type: Task
Components: camel-core
Reporter: Otavio Rodolfo Piske
Assignee: Otavio Rodolfo Piske
Attachments: profile-cbr-text-2023-05-29-4.0.0-SNAPSHOT-2023-05-29-070154.html
It looks like, when consuming data of different types, our type converters perform extremely slowly. For instance, in a test sending data of different types (Strings, Integers, Beans, etc) in a machine that easily routes 800k exchanges per sec, with a CBR, it decreases to as much as 49k exchanges/sec.
Analyzing the frame graphs for this (attached) we can see that there is a significant amount of time spent dealing with handling exceptions.
Camel's ability to use the processing power available in the machine seems to be severely affected by this:
{noformat}
39132464047 instructions # 0.80 insn per cycle
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)