You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Andrey N. Gura (Jira)" <ji...@apache.org> on 2020/03/06 13:57:00 UTC

[jira] [Created] (IGNITE-12756) TcpCommunicationSpi metrics implementation improvements

Andrey N. Gura created IGNITE-12756:
---------------------------------------

             Summary: TcpCommunicationSpi metrics implementation improvements 
                 Key: IGNITE-12756
                 URL: https://issues.apache.org/jira/browse/IGNITE-12756
             Project: Ignite
          Issue Type: Improvement
            Reporter: Andrey N. Gura
            Assignee: Andrey N. Gura


Implementation of IGNITE-12682 allows now to create cent/received counters by message direct type statically during SPI initialization. Data structure for this counters does have any contention so we can remove thread local HashMap's for this counters. As result we will also reduce memory footprint (we can use IntHashMap which is more memory effective and we will have only one map instance instead of map per thread).

Also there is a couple of problems which could be solved during implementation this issue:

- SPI uses internal API while we should extend IgniteSpiContext that will provide access to the {{GridMEtricManager}} functionality.
- {{MetricManagerResource}} annotation is redundant and has only one usage. 









--
This message was sent by Atlassian Jira
(v8.3.4#803005)