[ 
https://issues.apache.org/jira/browse/IGNITE-6846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16271927#comment-16271927
 ] 

Valentin Kulichenko commented on IGNITE-6846:
---------------------------------------------

2. Why not? Entry processor is atomic and expiration happens *after*, even if 
TTL is zero. I don't see a reason why invoke metrics should not change.
4. This should be consistent with other operations. Do we increment metrics for 
'put' on backup node? If yes, let's do the same for invoke.
6. Again, behavior should be consistent for all operations and across all nodes.
8. And once again, it should be consistent with other operations :) Invoke is a 
regular cache operation; the only difference is that it can do both read and 
update/remove in one go. Let's not overcomplicate this.

> Add metrics for entry processor invocations
> -------------------------------------------
>
>                 Key: IGNITE-6846
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6846
>             Project: Ignite
>          Issue Type: Improvement
>          Components: cache
>    Affects Versions: 2.3
>            Reporter: Valentin Kulichenko
>            Assignee: Alexey Kuznetsov
>            Priority: Critical
>              Labels: iep-6
>             Fix For: 2.4
>
>
> {{CacheMetrics}} object has multiple metrics for various cache operations 
> like {{get}}, {{put}} and {{remove}}, but nothing for 
> {{invoke}}/{{EntryProcessor}}. It makes sense to add such metrics, for 
> example:
> * Total number of `invoke` operations executed.
> * Number of `invoke` operations that included updates.
> * Number of read-only `invoke` operations.
> * Min/max/avg execution time.
> * ...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to