DAG Scheduler

==⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠== You can decompress Drawing data with the command palette: 'Decompress current Excalidraw file'. For more info check in plugin settings under 'Saving'

Excalidraw Data

Text Elements

Task 3 ^Br0eVTAl

Task 1 ^O5anAHTQ

Task 2 ^pSzeLLvL

Task 4 ^TDHwqVcf

Stage 2 ^KxSrS8xd

Stage 1 ^6Tdc7dg7

DAG Scheduler ^euaTFK4u

Read the DAG config file and then define an ordered task list
so that worker knows which task to pick ^kxq8OIxa

%%

Drawing

N4KAkARALgngDgUwgLgAQQQDwMYEMA2AlgCYBOuA7hADTgQBuCpAzoQPYB2KqATLZMzYBXUtiRoIACyhQ4zZAHoFAc0JRJQgEYA6bGwC2CgF7N6hbEcK4OCtptbErHALRY8RMpWdx8Q1TdIEfARcZgRmBShcZQUebTiANho6IIR9BA4oZm4AbXAwUDAi6HhxdEDsKI5lYOSiyEYWdi40AEYAFnb+YsbWTgA5TjFuAA4ABhGEgGYp1oB2bshCDmIs

bghcMbriwmYAEVSoBGJuADMCMMWIEnXsAFk9gAlNOABrSXwAFUfCZQBBPYAfTgAEd6KcuFdToR8PgAMqwWoSQQebYCKCkNivBAAdRI6m4fHy6Mx2IRMCR6BRNyumL8kg44WyaDGVzYcFw2DUMG4rTGrOJG2qlIF9QgmG4zgScwS2jm7QSYwAnFM5gBWK48tBSubaBKK1pqhI8DWC5gYrEIADCbHwbFI6wAxK0EC6XWiIJpOa9lHSVja7Q6JBjrMw

OYFMh6KPjJISlbqlSN2qrTWLJAhftJea1Ze05jwEkaTVcwsdeTK5nyePKFoLfcI4ABJYjM1A5AC6UPI6Wb3A4QlhtOEK0ZzFbhTFsEQ3CmxIAvldNMPiABRYLpTKtvL1ArE4pTsrQLBQNE7E4SADyausf0enwAihA9wu9xOxTcJP12jBMPgANI8MoQiNoCSoAEJsICf57JIABqUzOKekAHusuCkJiVDPosu47ks57oPe0Q8H+pz0I8ABSK4gkYcI

AGIIPQpAAFYAO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