Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3075

introduce QuiesceOffers message

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When there are a large number of slaves and a large number of frameworks, allocation performance suffers as the list of refused filters grows. Once a framework hits its target, it ends up having to refused offers all the time. It is more effective to simply request that it no longer receive offers.

      The QuiesceOffers message requests that the framework no longer receive offers. It has similar semantics to declining an offer. The quiescence is persisted across framework failures, and can be lifted using ReviveOffers. The proposed protobuf signature for this is:

      diff --git a/src/messages/messages.proto b/src/messages/messages.proto
      index 165a16d..1b4475a 100644
      --- a/src/messages/messages.proto
      +++ b/src/messages/messages.proto
      @@ -188,6 +188,10 @@ message ReviveOffersMessage {
         required FrameworkID framework_id = 1;
       }
      
      +message QuiesceOffersMessage {
      +  required FrameworkID framework_id = 1;
      +  optional double quiesce_seconds = 2;
      +}
      

      If quiesce_seconds is not specified, the quiescence is indefinite (ie. applied until the next ReviveOffers).

        Attachments

        1. MESOS-3075.tiff
          168 kB
          James Peach

          Issue Links

            Activity

              People

              • Assignee:
                gyliu Guangya Liu
                Reporter:
                jamespeach James Peach
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: