Application Services - SWF Flashcards Preview

A Cloud Guru: AWS Solutions Architect-Associate Exam > Application Services - SWF > Flashcards

Flashcards in Application Services - SWF Deck (11)
Loading flashcards...
1
Q

What is SWF?

A

web service that makes it easy to coordinate work across distributed app components

2
Q

SWF enables apps to be designed as…

A

a coordination of tasks

3
Q

Tasks represent

A

invocations of various processing steps in an app which can be performed by executable code, web service calls, human actions, and scripts

4
Q

SQS vs SWF retention period

A

SQS - 14 days, SWF - 1 year

5
Q

SQS vs SWF - APIs

A

SQS - message oriented, SWF - task oriented

6
Q

SQS vs SWF - duplication

A

SWF - task assigned only once, never duplicated

SQS - need to handle duplicated messages, make sure message is processed only once

7
Q

SQS vs SWF - tracking

A

SWF - keeps track of all the tasks and events in an pp

SQS - need to implement your own app-level tracking, especially if your app uses multiple queues

8
Q

SWF Actors

A

Workflow Starters, Deciders, Activity Workers

9
Q

Workflow Starters

A

an app that can initiate (start) a workflow. example: e-commerce website when placing an order or a mobile app searching for bus times

10
Q

Deciders

A

control the flow of activity tasks in a workflow execution. if something has finished in a workflow (or fails) a decider decides what to do next

11
Q

Activity Workers

A

carry out the activity tasks

Decks in A Cloud Guru: AWS Solutions Architect-Associate Exam Class (56):