3 ms·
The last time I did it maybe a year ago, I had a combination of batch jobs that once completed, should kick off other batch jobs. I created a poor mans fire an
by scarface74 9y ago
The last time I did it maybe a year ago, I had a combination of batch jobs that once completed, should kick off other batch jobs.
I created a poor mans fire and forget pub/sub model where when one process was finish it would "raise an event".
Raising an event, would look in Hashicorp's Consul to see what jobs should be run based on the event and submit a job to Nomad. There were a number of EC2 instances running Nomad agents that would kick off the subsequent jobs. Nomad jobs could be executables or Docker containers.
I was very much a Hashicorp fanboy until I transitioned to using native AWS services. These days I would probably use AWS Step Functions.