Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17059

camel-file: benchmark and optimize the file component for large data sets

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.12.0
    • 3.13.0
    • None
    • Unknown

    Description

      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

       

      Attachments

        Issue Links

          Activity

            People

              orpiske Otavio Rodolfo Piske
              orpiske Otavio Rodolfo Piske
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: