-
An activity function's execution is guaranteed to be "at-least-once". Because the activity function can be retried for a myriad of reasons, it is recommended to make the function idempotent. I am looking for clarification on if it is possible that a subsequent execution can occur concurrently with a previous execution. Scenario:
Is it possible that E1 and E2 could execute concurrently in any way? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's theoretically possible but would be extremely rare. The case where I think it's possible is:
So in this case, the message would have been dequeued at very different times (e.g., 5 minutes apart from each other) but the actual executions start at the same time (or overlap in some way). |
Beta Was this translation helpful? Give feedback.
It's theoretically possible but would be extremely rare. The case where I think it's possible is:
So in this case, the message would have been dequeued at very different times (e.g., 5 minutes apart from each other) but the actual executions start at the same time (or overlap in some way).