You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/05/29 13:07:04 UTC

[jira] [Updated] (CAMEL-11358) Optimise - Event listener to avoid copy on write array list

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

Claus Ibsen updated CAMEL-11358:
--------------------------------
    Attachment: before.png

The sample profile app which routes 1000 msg/sec then notice how it takes up 0.5mb per sec for just the iterator in the CopyOnWriteArrayList

> Optimise - Event listener to avoid copy on write array list
> -----------------------------------------------------------
>
>                 Key: CAMEL-11358
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11358
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.20.0
>
>         Attachments: before.png
>
>
> See CAMEL-5531
> After camel is started we should switch to another implementation of the event listern list, as when you iterate it then the copy on write will create a new iterator. And we iterate a lot during routing when Camel emits events for each step a message takes in the route graph



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)