khonsulabs / bonsaidb

A developer-friendly document database that grows with you, written in Rust
https://bonsaidb.io/
Apache License 2.0
1.01k stars 37 forks source link

Implement Persistent Jobs Service #211

Open ecton opened 2 years ago

ecton commented 2 years ago

Work in progress.

Closes #78

The goal of this pull request is to implement BonsaiDb's first "plugin". It may not actually be a plugin at the end of this pull request, but the long term vision is to allow the Jobs service to be reused independently of the one that will be built into BonsaiDb's admin database.

This would enable building individual pools of queues and workers that have different strategies for assigning jobs and distinct monitoring frontends, or allow developers to just use the one built into BonsaiDb.