Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-12756

TcpCommunicationSpi metrics implementation improvements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.1
    • None

    Description

      Implementation of IGNITE-12682 allows now to create sent/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.

      Attachments

        Issue Links

          Activity

            People

              agura Andrey N. Gura
              agura Andrey N. Gura
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h