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

Perform synchronous authorization for outgoing events on event stream.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Accepted
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: master
    • Labels:
      None

      Description

      The master event stream outgoing message authorization becomes very expensive for a large number of subscribers (cc Greg Mann).

      Instead of asynchronously obtaining object approvers for every event multiplied by every subscriber, we can instead always hold on to valid object approvers so that we could synchronously (and cheaply) authorize the outgoing events. These object approvers would be kept up to date in the background, and if authorization fails to keep them up to date, we would treat that the same as an authorization failure is currently treated.

      This should improve the performance dramatically.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bmahler Benjamin Mahler
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: