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 2024/06/28 08:59:00 UTC

[jira] [Updated] (CAMEL-19398) camel-core: type converter performs slowly due to exception-based flow control

     [ https://issues.apache.org/jira/browse/CAMEL-19398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Otavio Rodolfo Piske updated CAMEL-19398:
-----------------------------------------
    Fix Version/s: 4.4.0

> 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: Improvement
>          Components: camel-core
>            Reporter: Otavio Rodolfo Piske
>            Assignee: Otavio Rodolfo Piske
>            Priority: Major
>             Fix For: 4.2.0, 4.3.0, 4.4.0, 4.7.0
>
>         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)