Untitled.md
<< ---------------------------------------------------------------- >>
--- Last Modified: $= dv.current().file.mtime
Queue
<< ---------------------------------------------------------------- >>
basically you have a bunch of jobs that you need to run asyncly and some have different priorities than others. For example you have a video encoder and all the different videos being fed into it have different priorities.
- build an ordered list of items where each is scored by priority and supports the following operations:
- enqueing an item with a given priority
- modifying the priority of a given item
- dequeuing the item of highest priority
- at least once deliver of all enqueued items
- scalable and fault tolerant, even for billions of messages.
