I am trying to create a API service where any client can pass me his HTTP request and time in seconds after which he would like his HTTP request to be executed. I can think of two approaches here to make it happen:
What I am trying to understand is what are the pros and cons of each. setTimeout looks easy to implement and with no obvious flaws. Is there any reason I should go for step functions?
In a flash, I can think of following, will update if I get more points in mind
Link:
https://docs.aws.amazon.com/step-functions/latest/dg/limits.html#service-limits-state-machine-executions
https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html#per-function-concurrency