Uploaded image for project: 'Indy Node'
  1. Indy Node
  2. INDY-1582

Do not use average when calculating total throughput/latency of backups

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Complete
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.6.73
    • Component/s: None
    • Labels:
      None

      Description

      Currently we use a simple average when calculating the total throughput/latency of backupo instances to compare it with the master ones.

      This may lead to problems of false positive View Changes when there is a spike on just one of a backups.

      Acceptance criteria

      • Define a better way to calculate the average for backups. Consider median which is more robust to spikes.
      • Write unit tests checking, in particular, that spikes should not trigger false positives.
      • Implement the changes

        Attachments

          Activity

            People

            Assignee:
            VladimirWork Vladimir Shishkin
            Reporter:
            ashcherbakov Alexander Shcherbakov
            Watchers:
            Alexander Shcherbakov, Andrew Nikitin, Vladimir Shishkin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: