Hello,
What would be the best way to have one worker per queue ?
Context :
- I have only one Jobs Server
- I use Hangfire Core
- Storage is PostgreSQL
- I only have reccuring jobs
- I don’t want a worker which becomes idle start working on a queue already handled by another worker (I don’t want a job being ran by multiple worker at the same time).
I could have multiple servers running one queue/one worker, but is there a better way ?
Mutex might help to avoid concurrent execution but I am not sure it will prevent multiple worker working on thr same queue ?
Thanks for your help