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

Adriano Machado reassigned CAMEL-26393:
---------------------------------------

    Assignee: Adriano Machado

> camel-management - JMX performance counters: reduce contention on the 
> per-exchange path
> ---------------------------------------------------------------------------------------
>
>                 Key: CAMEL-26393
>                 URL: https://issues.apache.org/jira/browse/CAMEL-26393
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-core
>            Reporter: Adriano Machado
>            Assignee: Adriano Machado
>            Priority: Major
>
> Tier 1 item #1, ideas \(a\), of CAMEL\-25132. With the default statistics 
> level, ManagedPerformanceCounter updates about 5 atomic counters and 6 
> volatile fields of shared objects per node, per exchange, for the processor, 
> route and context counters, so throughput does not grow with threads \(604k 
> ops/s on 8 threads versus 5.49M without camel\-management\). Quick wins 
> prototyped in the ticket: LongAdder counters, write value statistics only 
> when they change, compute the mean on read, update the last exchange id and 
> timestamp at most once per ms, and derive inflight from the other counters.
> _Claude Code on behalf of Adriano Machado \(@ammachado\)_
> _This was generated by an AI agent and may contain inaccuracies. Please 
> verify before relying on it._



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to