AWS for Developers: SNS, SQS, and SWF

AWS for Developers: SNS, SQS, and SWF

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 12m | 240 MB

Are you unclear about how to best work with the messaging, queueing, and workflow services offered by AWS? If so, this course can help. Join Jeremy Villeneuve as he shines a spotlight on three key AWS services—Simple Workflow Service (SWF), Simple Queue Service (SQS), and Simple Notification Service (SNS)—and how they can help you effectively handle complex workflows. Since each service was designed to address a specific methodology of the messaging/queueing/workflow model, Jeremy spells out the key differences in methodologies so you can ensure you’re using the right tool for the right job. Along the way, get hands-on experience with SQS and SNS, and learn how to refactor an existing application that tracks user state within a database table to a workflow model provided by SWF.

Topics include:

  • Sending and receiving SQS messages
  • Differences between SNS and SQS
  • Registering subscribers of SNS topics
  • Tracking state within your app with SWF
  • Creating a SWF workflow
Table of Contents

1 Better workflows with SWF, SQS, and SNS
2 What you should know
3 Plan the refactoring
4 Messaging queues
5 Set up a test server
6 Create an SQS queue
7 Send a message to the queue
8 Receive a message from the queue
9 Challenge Send and receive a SQS message
10 Solution Send and receive a SQS message
11 What is SNS
12 Create an SNS topic
13 Register subscribers
14 Publish a message to an SNS topic
15 Challenge Add another subscriber
16 Solution Add another subscriber
17 What is SWF
18 SWF core concepts
19 Step Functions versus SWF
20 Challenge Diagram a new workflow
21 Solution Diagram a new workflow
22 Create a SWF domain
23 Create an SWF workflow
24 Create a SWF activity type
25 Start a workflow execution
26 SWF deciders
27 SWF workers in PHP
28 Testing the workflow
29 Challenge Create a new activity
30 Solution Create a new activity
31 Next steps