retools icon indicating copy to clipboard operation
retools copied to clipboard

Job workflow

Open tarekziade opened this issue 13 years ago • 1 comments

I know retools is low level, but since you have a jobs module with high level stuff, I'd love to add a high-level workflow for jobs:

A job would go through several queues

  • the main queue
  • a "running" queue
  • a "successes" queue
  • a "failures" queue

The two latter would keep the jobs unless purged.

tarekziade avatar Aug 07 '12 14:08 tarekziade

Sure, though currently when jobs are in process, they are moved to the worker's key in Redis to indicate they're being worked on. I think this sounds like a good idea, its also easier to do more operations atomically in Redis now with Lua scripting (a script runs in its entirety with no context switches, so all operations in it occur without interference).

bbangert avatar Apr 24 '13 22:04 bbangert