Dario Rexin created MESOS-7898:
----------------------------------

             Summary: Implement control message type that is handled with 
higher priority
                 Key: MESOS-7898
                 URL: https://issues.apache.org/jira/browse/MESOS-7898
             Project: Mesos
          Issue Type: Improvement
            Reporter: Dario Rexin
            Assignee: Dario Rexin


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to