Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-848

Handle resourceOffers callback asynchronously

    XMLWordPrintableJSON

Details

    • Story
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.6.0
    • Scheduler
    • None
    • Aurora Q4 Sprint 1

    Description

      Since the mesos driver synchronizes all callbacks, it's very important to return as quickly as possible to avoid blocking other callbacks. In the case of resourceOffers, we start by calling storage.write, which will stall if the write lock is held. In very large, busy clusters, we've observed resourceOffers routinely taking > 1 second, which can lead to delays in receiving status updates.

      I suggest the entire body of resourceOffers be asynchronous to prevent it from backing up status updates.

      Attachments

        Activity

          People

            zmanji Zameer Manji
            wfarner Bill Farner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: