Dario Rexin created MESOS-7897:
----------------------------------
Summary: Implement linearizable concurrent queue to use as event
queue in libprocess
Key: MESOS-7897
URL: https://issues.apache.org/jira/browse/MESOS-7897
Project: Mesos
Issue Type: Improvement
Components: libprocess
Reporter: Dario Rexin
Assignee: Dario Rexin
We currently use the moodycamel ConcurrentQueue as the backing queue for the
lockfree mailboxes in libprocess. Even though this queue is extremely fast,
it's not strictly linearizable, which is why there is same additional code to
re-establish linearizability. This makes the code harder to maintain and also
eliminates most of the performance benefits of this queue. A simple concurrent
linked queue implementation should yield better results and simplify the code
of the EventQueue class.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)