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 2023/04/05 13:06:00 UTC

[jira] [Updated] (CAMEL-19102) camel-core: Producer cache offers poor performance due to the type check scalability issue

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

Claus Ibsen updated CAMEL-19102:
--------------------------------
    Fix Version/s: 4.0

> camel-core: Producer cache offers poor performance due to the type check scalability issue
> ------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-19102
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19102
>             Project: Camel
>          Issue Type: Task
>          Components: camel-core
>            Reporter: Otavio Rodolfo Piske
>            Assignee: Otavio Rodolfo Piske
>            Priority: Major
>             Fix For: 4.0-RC1, 4.0
>
>
> Fixing the type-check scalability issue on the DefaultProducerCache may offer a significant performance gain:
>  
> {code:java}
> --- 4.0.0-SNAPSHOT (w/ single shot initialization check + local cache)
> Minimum: 652933.0
> Maximum: 763599.0
> Mean: 720940.8750000001
> Geometric mean: 720782.7857395237
> Standard deviation: 14897.378438658043
> -- 4.0.0-SNAPSHOT (w/ single shot initialization check) 
> Minimum: 604363.0
> Maximum: 738706.0
> Mean: 690079.2589285716
> Geometric mean: 689914.539795926
> Standard deviation: 14777.32031672733
> {code}
>  
>  
> Unfortunately simple patches to fix access to the cache (such as [c8d36cb1ddb93331cbecb0efa10586737f1d72c6|https://github.com/apache/camel/commit/c8d36cb1ddb93331cbecb0efa10586737f1d72c6]) cause side effects (i.e.; DefaultProducerCacheTest fails). So, we might need to try a different approach.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)