sihl icon indicating copy to clipboard operation
sihl copied to clipboard

Separate job dispatching and queue working

Open joseferben opened this issue 3 years ago • 0 comments

In order to support concurrent workers we need to split the job dispatching from the queue working. The challenge is to provide an ergonomic API that doesn't overwhelm beginners by forcing them to setup workers. The current implementation of the queue service contains the queue and the worker.

Proper locking with Postgres: https://www.2ndquadrant.com/en/blog/what-is-select-skip-locked-for-in-postgresql-9-5/

joseferben avatar Mar 16 '21 15:03 joseferben