owl icon indicating copy to clipboard operation
owl copied to clipboard

blocking peeks

Open Skn0tt opened this issue 3 years ago • 0 comments

This PR is a draft for blocking peeks: It introduces a new Redis list for ready jobs (jobs that can be executed immediately), which can then be polled using the blocking BRPOP command. It keeps workers from needing to poll, and introduces a new actor to shove scheduled-and-ready jobs from scheduled over to ready (it's currently called the gatekeeper, but that's WIP.).

Just like #155, this PR is merely an idea. It's not yet a hard intent that I'm planning on implementing, we'll see if the need for this arises.

Skn0tt avatar Jul 22 '21 09:07 Skn0tt