具有多次执行的 AWS Step Functions
AWS Step Functions with multiple executions
我有以下 Step Function
:
{
"Comment": "Test Lambda with Wait",
"StartAt": "wait_using_seconds",
"States": {
"wait_using_seconds": {
"Type": "Wait",
"SecondsPath": "$.timer_seconds",
"Next": "lambda_test"
},
"lambda_test": {
"Type": "Task",
"Resource": "arn:aws:lambda:us-east-1:00000000000:function:XXXXXXXX",
"End": true
}
}
}
此 Step Function
接收 Lambda 的动态输入数据,因此它足够灵活,可以为不同的目的调用。
我可能有一些 Executions
需要等待 1 小时,其他需要 3 小时,依此类推。
假设我将执行 5,000 运行 次相同的 Step Function。每个执行都有自己独特的 "name"。然后我停止执行然后我得到以下状态:
Is it possible to create a new Execution using the same "name" of the aborted execution? Or is it possible to restart an aborted execution? Or this is not a good practice?
另一个问题是:
When an execution is stoped (aborted) It will only generate the cost of the states it executed until it was aborted so no extra cost will be generated in AWS Billing correct?
最后一个问题是:
关于 1,000,000 次公开执行的限制...
Open executions equals to running executions? So for example if I have 10 running executiong and then I abort 5 of them, then I just have 5 "open" executions?
您不能重新开始中止的执行; aborted 表示中止:)
在过去 90 天内,您的 account/region 调用名称必须是唯一的。
我对 AWS 计费的理解是按转换付费,因此如果步骤函数没有达到步骤,则无需付费。 IE。如果您有一个 1,000 步的步进函数,并在第 2 步后停止,您只需支付 2 次转换的费用。
是的,公开处决 = 运行 处决。请注意,这是一个软限制,可以增加。 H
我有以下 Step Function
:
{
"Comment": "Test Lambda with Wait",
"StartAt": "wait_using_seconds",
"States": {
"wait_using_seconds": {
"Type": "Wait",
"SecondsPath": "$.timer_seconds",
"Next": "lambda_test"
},
"lambda_test": {
"Type": "Task",
"Resource": "arn:aws:lambda:us-east-1:00000000000:function:XXXXXXXX",
"End": true
}
}
}
此 Step Function
接收 Lambda 的动态输入数据,因此它足够灵活,可以为不同的目的调用。
我可能有一些 Executions
需要等待 1 小时,其他需要 3 小时,依此类推。
假设我将执行 5,000 运行 次相同的 Step Function。每个执行都有自己独特的 "name"。然后我停止执行然后我得到以下状态:
Is it possible to create a new Execution using the same "name" of the aborted execution? Or is it possible to restart an aborted execution? Or this is not a good practice?
另一个问题是:
When an execution is stoped (aborted) It will only generate the cost of the states it executed until it was aborted so no extra cost will be generated in AWS Billing correct?
最后一个问题是:
关于 1,000,000 次公开执行的限制...
Open executions equals to running executions? So for example if I have 10 running executiong and then I abort 5 of them, then I just have 5 "open" executions?
您不能重新开始中止的执行; aborted 表示中止:)
在过去 90 天内,您的 account/region 调用名称必须是唯一的。
我对 AWS 计费的理解是按转换付费,因此如果步骤函数没有达到步骤,则无需付费。 IE。如果您有一个 1,000 步的步进函数,并在第 2 步后停止,您只需支付 2 次转换的费用。
是的,公开处决 = 运行 处决。请注意,这是一个软限制,可以增加。 H