Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-625

Error in scale down logic

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 4.0.0 Alpha
    • 4.0.0
    • Autoscaler
    • None

    Description

      Seems like following current scale down rule is not accurate.

      scaleDown : Boolean() from ((rifReset && (rifPredictedValue < rifAverageLimit * 0.1)) || (mcReset && (mcPredictedValue < mcAverageLimit * 0.1)) || (laReset && (laPredictedValue < laAverageLimit * 0.1)))

      Note the 'OR' conditions. If you read this, it'll mean that system would scale down if any of the factors resulted to drop down than its threshold, despite higher requests in one of the factors.

      IMO we should use 'AND's instead of 'OR's.

      Proposed fix:

      scaleDown : Boolean() from ((rifReset && (rifPredictedValue < rifAverageLimit * 0.1)) && (mcReset && (mcPredictedValue < mcAverageLimit * 0.1)) && (laReset && (laPredictedValue < laAverageLimit * 0.1)))

      Attachments

        Activity

          People

            nirmal Nirmal Fernando
            nirmal Nirmal Fernando
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: