Autodesk / molecular-simulation-tools

Web applications for molecular modeling using the Molecular Design Toolkit
http://molsim.bionano.autodesk.com
Apache License 2.0
16 stars 10 forks source link

CCC Webhooks and simplify the MST server. #163

Open dionjwa opened 7 years ago

dionjwa commented 7 years ago

https://github.com/Autodesk/cloud-compute-cannon/issues/119

Problem:

The MST server currently duplicates state with the CCC server (the job status) and polls for status. This adds additional complexity in the MST server and thus surface area for bugs and testing and maintenance.

Solution:

If we removed the MST job polling logic, and CCC called a webhook into the MST server, then the MST server can be reduced to mostly an email service.

Time estimate:

2 days.

dionjwa commented 7 years ago

In addition to this ticket: fix cancelling workflows, so that the CCC cancel job API is called.

https://github.com/Autodesk/molecular-design-applications/pull/175/files