{"id":736,"date":"2017-11-05T22:41:47","date_gmt":"2017-11-05T22:41:47","guid":{"rendered":"http:\/\/wiki.thomasandsofia.com\/?p=736"},"modified":"2017-11-06T02:23:29","modified_gmt":"2017-11-06T02:23:29","slug":"applications-summary","status":"publish","type":"post","link":"https:\/\/wiki.thomasandsofia.com\/?p=736","title":{"rendered":"Applications Summary"},"content":{"rendered":"<p>https:\/\/www.udemy.com\/aws-certified-solutions-architect-associate\/learn\/v4\/t\/lecture\/2050804?start=0<\/p>\n<h2>Simple Queue Service (SQS)<\/h2>\n<p>Amazon AWS is a web service that gives you access to a message queue that can be used to store messages while waiting for a computer to process them.<\/p>\n<ul>\n<li>Pull based, not push based<\/li>\n<li>256 KB max message size<\/li>\n<li>Kept in the queue for 1 min up to 14 days\n<ul>\n<li>Default = 4 days<\/li>\n<\/ul>\n<\/li>\n<li>Visibility Timeout starts after a reader picks up the message.\n<ul>\n<li>When the message is completed, it is deleted from the queue<\/li>\n<li>If not completed before the timeout, the message becomes visible again and another reader will process it.\n<ul>\n<li>This could result in the same message being processed twice.<\/li>\n<\/ul>\n<\/li>\n<li>Visibility Time Out maximum=12 hours<\/li>\n<\/ul>\n<\/li>\n<li>SQS guarantees your messages will be processed at least once<\/li>\n<li>Long Polling is a way to retrieve messages from your SQS queues.\n<ul>\n<li>Short polling returns immediately, even if the message queue is empty.<\/li>\n<li>Long polling only returns a result\n<ul>\n<li>When a message is available in the queue<\/li>\n<li>After the Long Poll times out.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>Queues can be standard or FIFO<\/li>\n<\/ul>\n<h2>Simple Workflow Service (SWF)<\/h2>\n<table>\n<tbody>\n<tr>\n<th><\/th>\n<th>SWF<\/th>\n<th>SQS<\/th>\n<\/tr>\n<tr>\n<td>Max Retention<\/td>\n<td>14 Days<\/td>\n<td>1 Year<\/td>\n<\/tr>\n<tr>\n<td>Orientation<\/td>\n<td>Messge<\/td>\n<td>Task<\/td>\n<\/tr>\n<tr>\n<td>Task Assignment<\/td>\n<td>Only Once<\/td>\n<td>Once or more<\/td>\n<\/tr>\n<tr>\n<td>Task Tracking<\/td>\n<td>All Tasks and Events<\/td>\n<td>Tracking must be designed into the application<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h3>SWF Actors<\/h3>\n<ul>\n<li>Workflow Starters &#8211; An application that can initiate a workflow.\u00a0 Could be your e-commerce wiebsite when placing an order or a mobile app searching for bus times.<\/li>\n<li>Deciders &#8211; Control the flow of activity tasks in a workflow execution. If something has finished or fails in a workflow, a Decider decides what to do next.<\/li>\n<li>Activity Workers &#8211; Carry out the activity tasks.<\/li>\n<\/ul>\n<h2>Simple Notification Service (SNS)<\/h2>\n<ul>\n<li>Subscribers\n<ul>\n<li>HTTP<\/li>\n<li>HTTPS<\/li>\n<li>Email<\/li>\n<li>Email-JSON<\/li>\n<li>SQS<\/li>\n<li>Application<\/li>\n<li>Lambda<\/li>\n<\/ul>\n<\/li>\n<li>Push based, not poll based like SQS<\/li>\n<li>Subscribers must &#8216;subscribe&#8217; to prevent spamming<\/li>\n<\/ul>\n<h2>Elastic Transcoder<\/h2>\n<ul>\n<li>Converts media files from their original source format to different formats that will play on smart phones, tablets, PCs, etc.<\/li>\n<li>Provides transcoding presets for popular output formats, which means that you don&#8217;t need to guess about which settings work best on particular devices.<\/li>\n<li>Pay based on the minutes that you transcode and the resolution at which you transcode.<\/li>\n<\/ul>\n<h2>Kinesis<\/h2>\n<h4>Kinesis Streams<\/h4>\n<ul>\n<li>Data is stored in Shards\n<ul>\n<li>1MB\/s in, 2MB\/s out<\/li>\n<\/ul>\n<\/li>\n<li>Scaling depends on the number of Shards<\/li>\n<li>Output can go basically anywhere<\/li>\n<\/ul>\n<h4>Kinesis Firehose<\/h4>\n<ul>\n<li>Data collected is sent immediately to:\n<ul>\n<li>S3<\/li>\n<li>Lambda<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4>Kinesis Analytics<\/h4>\n<ul>\n<li>Sits on top of Streams or Firehose<\/li>\n<li>Allows queries to be ran then sent to\n<ul>\n<li>S3<\/li>\n<li>Redshift<\/li>\n<li>Elasticsearch Cluster<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Kinesis Exam Tips<\/p>\n<ul>\n<li>Know the difference between Streams and Firehose\n<ul>\n<li>Streams use Shards<\/li>\n<\/ul>\n<\/li>\n<li>Understand Analytics sits on top of Streams and Firehose.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/www.udemy.com\/aws-certified-solutions-architect-associate\/learn\/v4\/t\/lecture\/2050804?start=0 Simple Queue Service (SQS) Amazon AWS is a web service that gives you access to a message queue that can be used to store messages while waiting for a computer to process them. Pull based, not push based 256 KB max message size Kept in the queue for 1 min up to 14 days ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/wiki.thomasandsofia.com\/?p=736\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,23],"tags":[],"class_list":["post-736","post","type-post","status-publish","format-standard","hentry","category-amazon-web-services-aws","category-application-services"],"_links":{"self":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/736","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=736"}],"version-history":[{"count":5,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/736\/revisions"}],"predecessor-version":[{"id":745,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/736\/revisions\/745"}],"wp:attachment":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}