Skip to content

Latest commit

 

History

History
26 lines (13 loc) · 496 Bytes

File metadata and controls

26 lines (13 loc) · 496 Bytes

Client external protocol

1) Initialization

  • Client connects to Redis

2) Task creation

  • You create task

  • Client subscribes to channel for that that task

  • Client notifies monitor (if monitor is available)

  • Client pushes task to the top of queue

  • Client gets notified after task gets assigned (in channel)

  • Client gets notified on retry (also in channel)

3) Task finish/failure

  • Client unsubscribes from messaging channel

  • Client ACKs finish to monitor