https://github.com/tradle/multiqueue
Persistent self-ordering multiqueue, for parallelism between queues, and serial..ism within them
https://github.com/tradle/multiqueue
javascript multiqueue nag nodejs parallel-processing persistent-queue queue
Last synced: 5 months ago
JSON representation
Persistent self-ordering multiqueue, for parallelism between queues, and serial..ism within them
- Host: GitHub
- URL: https://github.com/tradle/multiqueue
- Owner: tradle
- Created: 2017-04-07T02:55:12.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-06T12:20:53.000Z (over 7 years ago)
- Last Synced: 2025-08-28T22:04:10.993Z (5 months ago)
- Topics: javascript, multiqueue, nag, nodejs, parallel-processing, persistent-queue, queue
- Language: JavaScript
- Homepage:
- Size: 62.5 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @tradle/multiqueue
[](https://travis-ci.org/tradle/multiqueue)
Persistent multiqueue, for parallelism between queues, and serial..ism within them. For example, you might have 100 people to whom you're sending messages concurrently (you're kind of a nag), but within each per-person queue, you want to send in series (so they don't find out you're kind of a nag).
## Usage
### Basic
See [example](./example.js) for a basic lesson in nagging
### Self-ordering
The queues are self-ordering, provided you specify the position of each item.
See [example-order](./example-order.js) for a basic lesson in unscrambling eggs
## Todo
Improve accounting of queues, maybe using level-updown to atomically save a queue name with the append to changes-feed