anonimongo
anonimongo copied to clipboard
mongo queue
feel free to close as off topic, but just wanted to open this as a placeholder for discussion, or in case someone has already built it and is willing to share, to link to here.
mongodb can be used as a queuing service, eg https://github.com/chilts/mongodb-queue, with benefits of simplicity for people already using mongodb.
This should be a separate package from anonimongo (separation of concerns) that would depend on anonimongo but seems like a nice self-contained utility.
links
- https://github.com/chilts/mongodb-queue
- http://mongodb.github.io/node-mongodb-native/schema/chapter7/
- https://stackoverflow.com/questions/9274777/mongodb-as-a-queue-service
If I'm to implement, I'd choose it as separate package. It's better to depend on the public Mongo APIs which (defined in anonimongo/dbops
, anonimongo/collections
, and anonimongo/gridfs
) as those APIs are stable following Mongo documentation.