I've really been struggling with this concept a lot in my head, and I was hoping I could get a poke in the right direction here...
I have a process that is supposed to take a certain number of phone numbers and send them all text messages (through Twilio). That's all fine and working...my problem is, I don't know how to ensure execution of each function, when there could be anywhere from 10 phone numbers to send to, to 10,000.
I don't think playing with the timeouts in my cloud environment would be best, because the time would be variable, so what if I set it too short? I just could never really know.
Or maybe timeouts is the best way to do this, and I'm just ignorant.
I guess my question boils down to:
How do I best execute a process that could take anywhere from 30 seconds to 6 hours, and make sure the entire process runs all the way through?