Application Services - SWF Flashcards

1
Q

What is SWF?

A

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

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

SWF enables apps to be designed as…

A

a coordination of tasks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

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

SQS vs SWF retention period

A

SQS - 14 days, SWF - 1 year

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

SQS vs SWF - APIs

A

SQS - message oriented, SWF - task oriented

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

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

SWF Actors

A

Workflow Starters, Deciders, Activity Workers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

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

_____ 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

A

Deciders

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

___ ____carry out the activity tasks

A

Activity Workers

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