spacepy / dbprocessing

Automated processing controller for heliophysics data
5 stars 4 forks source link

Make ProcessQueue AWS-batch aware #131

Open jtniehof opened 9 months ago

jtniehof commented 9 months ago

Since ProcessQueue spawns a bunch of processes on the local machine, it should be possible to set it up to dispatch the command lines to an AWS batch queue.

Proposed enhancement

Spawn the actual processing codes via a batch queue instead of directly on the machine running ProcessQueue.

IPC required:

Alternatives

Could go for fuller clustering support, but this seems like the smallest change that supports good horizontal scaling.

Closure condition

Implemented and tested. Unit testing might be "interesting", either "mock" AWS or pull out the actual batch injection as a very thin shim that is not tested in unit tests (only functional testing).