Step functions Flashcards

1
Q

What are clues in a question that point to using Step functions?

A

Workflow, entire process, tracked, managed, automatically

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the Service integration patterns for Step Functions?

A
  1. Request response (default) – Call a service and move to the next state immediately after receiving an HTTP response. (for quick API calls)

Run a job (.sync) – Call a service and have Step Functions wait for a job to complete. (for Batch jobs)

Wait for a callback with a task token (.waitForTaskToken) – Call a service with a task token and have Step Functions wait until the task token returns with a callback. (for long running response)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you keep a task active?

A
  • Configure how long a task can wait by setting TimeoutSeconds
  • Periodically send a heartbeat from your Activity Worker using SendTaskHeartBeat
How well did you know this?
1
Not at all
2
3
4
5
Perfectly