<!--DEBUG:--><!--DEBUG:dc3-united-states-software-in-english-pdf-2--><!--DEBUG:--><!--DEBUG:dc3-united-states-software-in-english-pdf-2--><!--DEBUG-spv-->{"id":398367,"date":"2017-01-08T18:14:10","date_gmt":"2017-01-08T16:14:10","guid":{"rendered":"http:\/\/nhub.news\/?p=398367"},"modified":"2017-01-08T18:14:10","modified_gmt":"2017-01-08T16:14:10","slug":"amazon-simple-queue-service-sqs-gains-fifo-queues","status":"publish","type":"post","link":"http:\/\/nhub.news\/fr\/2017\/01\/amazon-simple-queue-service-sqs-gains-fifo-queues\/","title":{"rendered":"Amazon Simple Queue Service (SQS) Gains FIFO Queues"},"content":{"rendered":"<p style=\"text-align: justify;\"><img style=\"float: left; padding: 5px;\" width=\"300px\" src=\"https:\/\/cdn.infoq.com\/statics_s1_20170104-0355\/styles\/i\/logo-big.jpg\" alt=\"NewsHub\" border=\"0\" \/>Amazon&rsquo;s Simple Queue Service (SQS) recently gained FIFO (first-in, first-out) queues, which are designed to \u00ab\u00a0guarantee that messages are processed exactly once, in the order that they are sent, and without duplicates\u00a0\u00bb. AWS rolled out this new queue type in the US East (Ohio) and US West (Oregon) regions and \u00ab\u00a0plans to make it available in many others in early 2017\u00a0\u00bb. <br \/>Amazon SQS is described as a \u00ab\u00a0fast, reliable, scalable, fully managed message queuing service [designed to] decouple the components of a cloud application [and] transmit any volume of data, without losing messages or requiring other services to be always available\u00a0\u00bb. <br \/>Accordingly, a notable characteristic of the service has been the de facto absence of scaling limits for the now called &lsquo;standard&rsquo; queues, insofar users can create an unlimited number of queues, and each queue provides \u00ab\u00a0nearly unlimited throughput\u00a0\u00bb by default. However, this effortless scaling mode requires a message processing architecture that can only guarantee best-effort ordering and at-least-once delivery. <br \/>These standard SQS queues are now complemented by a new FIFO queue type, which trades unlimited scaling for stronger message ordering and processing guarantees, based on AWS&rsquo; observation that \u00ab\u00a0customers have told us that FIFO applications are generally lower-throughput \u2013 10 messages per second or lower\u00a0\u00bb: <br \/>The underlying architectural tradeoffs and resulting constraints are described in more detail in a technical blog post on how the Amazon SQS FIFO API works. The authors emphasize, that while \u00ab\u00a0many apps perform well with SQS\u2019s traditional super-scalable at-least-once message processing\u00a0\u00bb, there are some use cases that require ordering or exactly-once processing, such as \u00ab\u00a0a stream of price updates\u00a0\u00bb or \u00ab\u00a0commands in an interactive shell session\u00a0\u00bb. <br \/>The default settings for FIFO queues should be appropriate to achieve strict ordering and exactly-once processing for most use cases \u00ab\u00a0if your network connections don\u2019t drop for minutes at a time, and your messages have unique identifiers\u00a0\u00bb. For more granular requirements, it is possible to facilitate message groups (each message that belongs to the same group is processed in order) and a dedicated deduplication ID (which otherwise defaults to the SHA256 hash of the message content). <br \/>Microsoft Azure&rsquo;s Service Bus also optionally guarantees FIFO message ordering and exactly-once delivery. In contrast, Google Cloud Platform\u2019s Cloud Pub\/Sub service neither supports FIFO message ordering nor exactly-once delivery, since Google argues that \u00ab\u00a0there are very few use cases that actually require strict ordering\u00a0\u00bb. <br \/>The Amazon SQS documentation features a developer guide , including a dedicated section on FIFO queues that also provides a checklist for moving from a standard queue, as well as the API reference. A separate FAQ is also available. SQS is priced per API request (rather than per message: one request can contain up to ten messages) and the new FIFO queues are priced similarly to how standard queues have been priced before, while the pricing for standard queues has been reduced by twenty percent. Support is provided via the Amazon SQS forum.<\/p>\n<div id=\"td_post_ranks\" class=\"td-post-comments\" style=\"vertical-align: middle;\">\n<div style=\"float: left;\">\nSimilarity rank: 0\n<\/div>\n<\/div>\n<p><script>\njQuery(function() {\nvar mainContentMetaInfo = '.td-post-header .meta-info';\nvar tdPostRanks = '#td_post_ranks';\nif (jQuery(tdPostRanks).length) {\n    var tdPostRanksHtml = jQuery(tdPostRanks).get(0).outerHTML;\n    if (typeof tdPostRanksHtml != 'undefined') {\n        jQuery(tdPostRanks).remove();\n        jQuery(mainContentMetaInfo).append(tdPostRanksHtml);\n    }\n}\n});\n<\/script><span>&copy; Source: <a href=\"http:\/\/www.infoq.com\/news\/2016\/12\/amazon-sqs-fifo-queues?utm_campaign=infoq_content&amp;utm_source=infoq&amp;utm_medium=feed&amp;utm_term=news\" target=\"_blank\">http:\/\/www.infoq.com\/news\/2016\/12\/amazon-sqs-fifo-queues?utm_campaign=infoq_content&amp;utm_source=infoq&amp;utm_medium=feed&amp;utm_term=news<\/a><br \/>All rights are reserved and belongs to a source media.<\/span><\/p>\n<script>jQuery(function(){jQuery(\"#td_post_ranks\").remove();});<\/script><script>jQuery(function(){jQuery(\".td-post-content\").find(\"p\").find(\"img\").hide();});<\/script>","protected":false},"excerpt":{"rendered":"<p>Amazon&rsquo;s Simple Queue Service (SQS) recently gained FIFO (first-in, first-out) queues, which are designed to \u00ab\u00a0guarantee that messages are processed exactly once, in the order that they are sent, and without duplicates\u00a0\u00bb. AWS rolled out this new queue type in the US East (Ohio) and US West (Oregon) regions and \u00ab\u00a0plans to make it available [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":398366,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[93],"tags":[],"_links":{"self":[{"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/posts\/398367"}],"collection":[{"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/comments?post=398367"}],"version-history":[{"count":1,"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/posts\/398367\/revisions"}],"predecessor-version":[{"id":398368,"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/posts\/398367\/revisions\/398368"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/media\/398366"}],"wp:attachment":[{"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/media?parent=398367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/categories?post=398367"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/tags?post=398367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}