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 2021/10/09 09:41:00 UTC

[jira] [Assigned] (CAMEL-17059) camel-file: benchmark and optimize Camel file for large data sets

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

Otavio Rodolfo Piske reassigned CAMEL-17059:
--------------------------------------------

    Assignee: Otavio Rodolfo Piske

> camel-file: benchmark and optimize Camel file for large data sets
> -----------------------------------------------------------------
>
>                 Key: CAMEL-17059
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17059
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 3.12.0
>            Reporter: Otavio Rodolfo Piske
>            Assignee: Otavio Rodolfo Piske
>            Priority: Major
>             Fix For: 3.13.0
>
>
> The file component is performance sensitive and we have some places in the File component where the code could be optimized. 
> For example, it is creating a List<File> instance [1] that could result in several thousands of objects. We could adjust it to avoid this to use native arrays or an Object type to avoid the overhead.
>  
> 1. https://github.com/apache/camel/blob/22c7af563c067fc34c141da3de1338d7e37c3525/components/camel-file/src/main/java/org/apache/camel/component/file/FileConsumer.java#L99
>  
>  
> 1. https://github.com/apache/camel/blob/22c7af563c067fc34c141da3de1338d7e37c3525/components/camel-file/src/main/java/org/apache/camel/component/file/FileConsumer.java#L99



--
This message was sent by Atlassian Jira
(v8.3.4#803005)