Skip to content

Instantly share code, notes, and snippets.

@stratosgear
Last active April 5, 2016 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stratosgear/e82b44e1d086466d91efd82dd877d9d8 to your computer and use it in GitHub Desktop.
Save stratosgear/e82b44e1d086466d91efd82dd877d9d8 to your computer and use it in GitHub Desktop.
' edit online at:
' http://www.planttext.com/planttext?text=TP7TReCm38Nl_HH-0Lu0JKX8KwMYHaEzM2wscmnSBIfAM4XXZpyxG0VxwPNB-MoVuq2qiIEiJsNvVCJAl-6PFcuqH7mQAOoM9e3UX6WRsniNLz0CNEq4RbN6YL2fdN1ebkzS_12q3rSAiwPtMZdQRr43E1y9FJkIjRC7AEiZ3koH0f1hKH20bwoeJtaA4kOWO9feHnCb971lLbGgno7oDgQWfQr-hpa4GAMoWbtdsFh9TTwq1zlHi6rXx5vBFe3E-nulFY13xtZX1a3-iIYpz7vMaZO3zCe-PDa2kndQx1IC0ukzXAa5so7gZoYIkwN6jeHylrStfGiF63tI9pKtlfzWl7Rz-qzIVX3G2PGHV5FseN-xqFlJfzlBuoWJhkc57gNX2m00
title PLAAVI Job Request Overview
participant PLAAVI as PL
participant JobMan as JM
participant FcMan as FcM
participant FcWorker as FcW
participant AviWorker as W
note over PL
PLAAVI
API server
end note
[->PL: Job request
activate PL
PL->JM: startJob
deactivate PL
activate JM
JM->FcM: downloadFiles
deactivate JM
activate FcM
loop for each file
FcM->FcW: downloadFile
activate FcW
FcM<--FcW: done
deactivate FcW
end
JM<--FcM: done
deactivate FcM
activate JM
JM->JM: decide AVI\nworkers to execute
JM->W: execute
deactivate JM
activate W
W->W: work
PL<--W: done
deactivate W
activate PL
PL->PL: Mark Job Done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment