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

Otavio Rodolfo Piske updated CAMEL-19102:
-----------------------------------------
    Fix Version/s: 4.0-M1

> 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-M1
>
>
> 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) 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)

Reply via email to