applications Flashcards
By default, EC2 instances pull SQS messages from a standard SQS queue on a FIFO (First In First out) basis.
False
You have discovered duplicate messages being processed in your SQS queue. How do you resolve this?
Increase the visibility timeout of your queue, so that messages do not become visible once obtained by a consumer.
Duplicate messages occur when a consumer does not complete its message processing and the visibility timeout of the message expires, making it visible for another consumer to obtain. Increasing the visibility timeout to enable the consumer processing to complete, will prevent duplicate messages.
Does the Standard SQS message queue preserve message order and guarantee messages are only delivered once?
The Standard SQS message queue does not preserve message order nor guarantee messages are delivered only once - these are features of a FIFO message queue. Since Standard SQS message queues are designed to be massively scalable using a highly distributed architecture, receiving messages in the exact order they are sent is not guaranteed. Standard queues provide at-least-once delivery, and in some circumstances, duplicates can occur.
What is Amazon Kinesis Data Streams?
Kinesis Data Streams is a massively scalable and durable real-time data streaming service. It enables you to build custom applications that process or analyze streaming data for specialized needs.
A service on AWS for loading, processing and analysing streaming data.
Loading data into data stores and analytics tools.
Capturing, transforming and loading streaming data into Amazon S3
Amazon Kinesis Data Firehose is the easiest way to load streaming data into data stores and analytics tools. It can capture, transform, and load streaming data into Amazon S3, Amazon Redshift, Amazon Elasticsearch Service, and Splunk, enabling near real-time analytics with existing business intelligence tools and dashboards you’re already using today.
With Amazon API gateway, how can you increase performance?
Enable caching and set throttling limits.
If a cache is configured, then Amazon API Gateway will return a cached response for duplicate requests for a customizable time, but only if under configured throttling limits. This balance between the backend and client ensures optimal performance of the APIs for the applications that it supports.
What are the key components of Kinesis Data Firehose?
Delivery streams, records of data and destinations.
Key components of Kinesis Data Firehose are: delivery streams, records of data and destinations. Producers, shards and consumers are components of Kinesis Data Streams.