#Job queue in NestJS based on local persistence?

1 messages · Page 1 of 1 (latest)

dawn stream
#

Hi all! The official integration for job queue is with Bull/MQ which requires reddis. Our product, however, is a desktop application and can only use embedded storage solutions such as Sqlite or leveldb. Is there good solutions that work with local databases? Thanks!

smoky yacht
#

I don't know of any out of the box solution, but if you don't need to support distributed queues with competing consumers, it's pretty straightforward to implement a database backed queue.

Research about implementations of the Outbox pattern to get the idea. It's not solving the same issue, but the way you insert/remove messges (jobs) is the same.