Expand description
diem_channel is an mpmc-style channel with per-key queues, providing
load isolation across senders and eviction-on-full semantics (FIFO, LIFO,
or KLAST).
Modulesยง
- diem_
channel - diem_channel provides an mpsc channel which has two ends
diem_channel::Receiveranddiem_channel::Sendersimilar to existing mpsc data structures. What makes it different from existing mpsc channels is that we have full control over how the internal queueing in the channel happens and how we schedule messages to be sent out from this channel. Internally, it uses thePerKeyQueueto store messages - message_
queues