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

Implement control message type that is handled with higher priority

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Up until most recently libprocess was able to enqueue messages in the front of the queue, so they would be processed before the other messages. The recent changes adding concurrent queues removed this capability. One way to implement this feature while keeping the mailbox lock free would be to use a second queue in the mailbox that is only used for control messages. When dequeuing a message this queue would be checked first, before the regular queue is considered. A similar mailbox can be found in Akka: http://doc.akka.io/docs/akka/2.5.3/scala/mailboxes.html (UnboundedControlAwareMailbox).

      Since not all processes need this capability and there will be an impact on performance, we could consider making this an optional per-process configuration.

      Attachments

        Activity

          People

            drexin Dario Rexin
            drexin Dario Rexin
            Benjamin Hindman Benjamin Hindman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: