Amazon Simple Workflow

55
Amazon Simple Workflow Launched yesterday!

description

Amazon Simple Workflow (SWF) is a new cloud-based workflow management service from Amazon. SWF is designed to build scalable, resilient applications, model and automate business processes, manage infrastructure services and build analytics pipelines. In this session we introduce SWF and walk through some real world use cases and examples.

Transcript of Amazon Simple Workflow

Page 1: Amazon Simple Workflow

Amazon Simple Workflow

Launched yesterday!

Page 2: Amazon Simple Workflow

Build, process and manage workflows

Page 3: Amazon Simple Workflow

Workflows?

Page 4: Amazon Simple Workflow

Workflows?

Business process Analytics pipelines

Managing infrastructure

Page 5: Amazon Simple Workflow

Workflows?

Business process Analytics pipelines

Managing infrastructure

Applications

Page 6: Amazon Simple Workflow

New customer

Register address

Register billingdetails

Validate billingdetails

Createaccount

Page 7: Amazon Simple Workflow

New customer

Register address

Register billingdetails

Validate billingdetails

Createaccount

Asynchronous

Synchronous

Page 8: Amazon Simple Workflow

New customer

Addressregistration

Billingregistration

Billingvalidation

Accountcreation

Q1 Q2 Q3

Page 9: Amazon Simple Workflow

Ordering and dependencies

Page 10: Amazon Simple Workflow

Duplication of messages

Page 11: Amazon Simple Workflow

Recording metadata

Page 12: Amazon Simple Workflow
Page 13: Amazon Simple Workflow

Undifferentiated heavy lifting

Page 14: Amazon Simple Workflow

Enter SWF!

Page 15: Amazon Simple Workflow

Designed for the cloud

Page 16: Amazon Simple Workflow

Scalable, resilient applications

Page 17: Amazon Simple Workflow

Complex business processes

Page 18: Amazon Simple Workflow

Easy to use

Page 19: Amazon Simple Workflow

Flexible

Page 20: Amazon Simple Workflow

Task orchestration

Page 21: Amazon Simple Workflow

ManagedBased on application logic

Page 22: Amazon Simple Workflow

Managed

Task execution

Dependencies

Scheduling

ConcurrencyBased on application logic

Page 23: Amazon Simple Workflow

Zero administrationNo hardware of software to admin for orchestration

Page 24: Amazon Simple Workflow

VocabularyDomain

Workflow

Action

Activity workers

Decider

Page 25: Amazon Simple Workflow

VocabularyDomain

Workflow

Action

Activity workers

Decider

Collection of workflows

Page 26: Amazon Simple Workflow

VocabularyDomain

Workflow

Action

Activity workers

Decider

Collection of actions

Page 27: Amazon Simple Workflow

VocabularyDomain

Workflow

Action

Activity workers

Decider

Task or workflow step

Page 28: Amazon Simple Workflow

VocabularyDomain

Workflow

Action

Activity workers

Decider

Implement actions

Page 29: Amazon Simple Workflow

VocabularyDomain

Workflow

Action

Activity workers

DeciderCoordinate workflow actions

Page 30: Amazon Simple Workflow
Page 31: Amazon Simple Workflow
Page 32: Amazon Simple Workflow
Page 33: Amazon Simple Workflow
Page 34: Amazon Simple Workflow
Page 35: Amazon Simple Workflow
Page 36: Amazon Simple Workflow
Page 37: Amazon Simple Workflow

Clean separationDecoupled task logic from application flow

Page 38: Amazon Simple Workflow

ScaleWorkers and deciders are stateless

Page 39: Amazon Simple Workflow

Signals and errorsConfigurable timeouts and out-of-band signalling.

Markers for checkpointing.

Page 40: Amazon Simple Workflow
Page 41: Amazon Simple Workflow
Page 42: Amazon Simple Workflow
Page 43: Amazon Simple Workflow
Page 44: Amazon Simple Workflow
Page 45: Amazon Simple Workflow
Page 46: Amazon Simple Workflow

PAYG

Page 47: Amazon Simple Workflow

Pricing

$0.0001 per workflow$0.000005 per day for > 24 hours

$0.000025 per task, signal or marker

$0.10 for first Gb inboundFirst Gb out is free, normal AWS usage after that

Page 48: Amazon Simple Workflow

Free tier

1000 workflow executions

10,000 tasks, timers, signals and markers

30,000 workflow-days

Page 49: Amazon Simple Workflow

Flow FrameworkAbstraction for Java

Page 50: Amazon Simple Workflow
Page 51: Amazon Simple Workflow
Page 52: Amazon Simple Workflow
Page 53: Amazon Simple Workflow

Left image Right image

Warp Warp

Stereo match

3D map

Tiling

Page 54: Amazon Simple Workflow