Sha256: 53b2e0fbb6c5647dd67ba51284a552220b5f8d440688692da2fcd5e1ff7dd4a1

Contents?: true

Size: 1.91 KB

Versions: 44

Compression:

Stored size: 1.91 KB

Contents

# https://www.websequencediagrams.com
title Taskinator Sequence

User->+Web: Request process
Web-->+Process(seq): Create sequential process
Process(seq)-->-Web:
Web-->+Queue: Enqueue process
Queue-->-Web:
Web-->-User:

opt Sequential process
  Queue->+Worker: Dequeue process
  note right of Worker: Start sequential process
  Worker->+Queue: Enqueue task
  Queue-->-Worker:
  Worker-->-Queue:

  loop Sequential Tasks
    Queue->+Worker: Dequeue task
    note right of Worker: Start task
    Worker->+Queue: Enqueue task
    Queue-->-Worker:
    Worker->Process(seq): Task completed
    note left of Process(seq): All tasks complete?
    Worker-->-Queue:
  end

  opt Sub Process Task
    Queue->+Worker: Dequeue task
    note right of Worker: Start task
    Worker-->+Process(con): Create concurrent process
    Process(con)-->-Worker:
    Worker-->+Queue: Enqueue process
    Queue-->-Worker:
    Worker->Process(seq): Task completed
    note left of Process(seq): All tasks complete?
    Worker-->-Queue:
  end

  opt Concurrent process
    Queue->+Worker: Dequeue process
    note right of Worker: Start concurrent process
    Worker->+Queue: Enqueue task
    Queue-->-Worker:
    Worker->+Queue: Enqueue task
    Queue-->-Worker:
    Worker->Process(seq): Task completed
    note left of Process(seq): All tasks complete?
    Worker-->-Queue:

    opt Concurrent Tasks
      Queue->+Worker: Dequeue task
      Queue->+Worker: Dequeue task
      Queue->+Worker: Dequeue task
      Worker->Process(con): Task completed
      note right of Process(con): All tasks complete?
      Worker->Process(con): Task completed
      note right of Process(con): All tasks complete?
      Worker-->-Queue:
      Worker-->-Queue:
      Worker->Process(con): Task completed
      Worker-->-Queue:
    end

    note right of Process(con): All tasks complete?
    Process(con)->Process(seq): Process completed
    note left of Process(seq): All tasks complete?

  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
taskinator-0.5.2 sequence.txt
taskinator-0.5.1 sequence.txt
taskinator-0.5.0 sequence.txt
taskinator-0.4.7 sequence.txt
taskinator-0.4.6 sequence.txt
taskinator-0.4.5 sequence.txt
taskinator-0.4.4 sequence.txt
taskinator-0.4.3 sequence.txt
taskinator-0.4.2 sequence.txt
taskinator-0.4.1 sequence.txt
taskinator-0.4.0 sequence.txt
taskinator-0.3.16 sequence.txt
taskinator-0.3.15 sequence.txt
taskinator-0.3.14 sequence.txt
taskinator-0.3.13 sequence.txt
taskinator-0.3.12 sequence.txt
taskinator-0.3.11 sequence.txt
taskinator-0.3.10 sequence.txt
taskinator-0.3.9 sequence.txt
taskinator-0.3.7 sequence.txt