Uploaded image for project: 'InsightEdge Platform'
  1. GS-13452

Improve responsiveness of remote statistics gathering in Admin API

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12.3
    • Labels:
      None
    • Platform:
      All
    • Acceptance Test:
      Hide
      test/admin/jvm/VirtualMachineBlockingStatisticsTest.java
      test/admin/os/OperatingSystemBlockingStatisticsTest.java
      test/admin/pu/statistics/ProcessingUnitInstanceBlockingStatisticsTest.java
      test/admin/space/statistics/SpaceInstanceBlockingStatisticsTest.java
      test/admin/transport/TransportBlockingStatisticsTest.java
      Show
      test/admin/jvm/VirtualMachineBlockingStatisticsTest.java test/admin/os/OperatingSystemBlockingStatisticsTest.java test/admin/pu/statistics/ProcessingUnitInstanceBlockingStatisticsTest.java test/admin/space/statistics/SpaceInstanceBlockingStatisticsTest.java test/admin/transport/TransportBlockingStatisticsTest.java
    • Sprint:
      12.3-M11
    • Product:
      XAP
    • Edition:
      Premium

      Description

      Split locking mechanism of statistics gathering and scheduled gathering of statistics. This should improve the responsiveness of the API when a remote call to get statistics is delayed due to network.

      Only one calling thread can gather statistics. Other threads meanwhile get the last cached result, even if cache interval is over. Only when there is no statistics available (first time) then callers will block until calling thread returns with an answer.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                moran Moran Avigdor
                Reporter:
                moran Moran Avigdor
                Participants of an issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: