ladderlore
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

Service · Application Integration · CLF-C02 အပေါ် ဆက်လေ့လာရန်

AWS Step Functions

Standard or Express, the state types, retries and Catch, callbacks, and when it beats chaining Lambda or SQS.

ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။

Cloud Practitioner မှ သင်သိပြီးသားများ

  • Step Functions orchestrates services as a workflow, called a state machine.
  • It handles branching, retries and waits, so the code in each step stays small.
  • Standard workflows run long. Express workflows run short and at high volume.
Cloud Practitioner သင်ခန်းစာကို ဖတ်ရန်
Validate order
In stock?
Charge card
SNS
Backorder
yesno
A Choice state sends each order down one branch. Retry and Catch rules sit on each Task.
  • Run time

    Standard
    Up to 1 year
    Express
    Up to 5 minutes
  • Run semantics

    Standard
    Exactly once
    Express
    At least once (async), at most once (sync)
  • History

    Standard
    90 days, in Step Functions
    Express
    In CloudWatch Logs
  • Billing

    Standard
    State transitions
    Express
    Runs, duration, memory
  • Callbacks and .sync

    Standard
    Yes
    Express
    No
  • Use for

    Standard
    Long or non-repeatable work
    Express
    Short, high-volume, repeatable work
Choose Express only when the work is short and safe to repeat.

1 / 2

  • Run time

    Standard
    Up to 1 year
    Express
    Up to 5 minutes
  • Run semantics

    Standard
    Exactly once
    Express
    At least once (async), at most once (sync)
  • History

    Standard
    90 days, in Step Functions
    Express
    In CloudWatch Logs

2 / 2

  • Billing

    Standard
    State transitions
    Express
    Runs, duration, memory
  • Callbacks and .sync

    Standard
    Yes
    Express
    No
  • Use for

    Standard
    Long or non-repeatable work
    Express
    Short, high-volume, repeatable work
Choose Express only when the work is short and safe to repeat.

ဘာလဲ

A workflow is a set of states. Task does work. Choice branches on data. Parallel runs branches at the same time. Map runs the same steps for each item in a list. Wait pauses. Pass, Succeed and Fail shape data or end the run. Each Task can have Retry rules (with backoff) and a Catch that sends the run to a recovery state, so error handling lives in the workflow, not in code.

ဘာလဲ

Standard workflows run up to one year, run each step exactly once, keep history for 90 days and are billed per state transition. Express workflows run up to five minutes, handle very high rates, run at least once (asynchronous) or at most once (synchronous), and are billed by runs, duration and memory. Use Express for short, high-volume, repeatable work. Use Standard for orders, approvals and anything long or not repeatable.

ဘာလဲ

A callback pauses a Task until something returns a task token, for example when a person approves. A job-run (.sync) integration waits for a job to finish. Both work only in Standard workflows. Direct service integrations call most AWS services from a state with no Lambda function. A chain of Lambda functions or SQS queues hides the flow and makes errors hard to trace. Step Functions shows every step.

မှတ်ထားရန်

  • States: Task, Choice, Parallel, Map, Wait, Pass, Succeed, Fail.
  • Retry with backoff, and Catch to a fallback state: error handling in the workflow.
  • Standard: up to 1 year, exactly once, 90 days of history.
  • Express: up to 5 minutes, very high rate, at least once (async), billed per run.
  • Callback (task token) and job-run (.sync) work only in Standard.

မှတ်ထားရန်

  • Direct integrations call AWS services without Lambda glue code.

စာမေးပွဲမှာ

  • “An order process with an approval that can take days” points to a Standard workflow with a callback.
  • “Process 100,000 short events per second” points to an Express workflow.
  • “Replace Lambda functions that call each other, and add retries and visibility” points to Step Functions.
  • “Run the same steps on every file in a list, in parallel” points to a Map state.