Otavio Rodolfo Piske created CAMEL-19102:
--------------------------------------------
Summary: 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
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. So, we might need
to try a different approach.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)