Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Amazon SQS Short and Long polling

Pragya Keshap answered on February 13, 2023 Popularity 4/10 Helpfulness 2/10

Contents


More Related Answers

  • What is Amazon SQS ?
  • Benefits of Amazon SQS
  • What do you understand about long polling with SQS?

  • Amazon SQS Short and Long polling

    0

    By default, queues use short polling.

    ▪ Short polling, the ReceiveMessage request queries

    only a subset of the servers to find messages that are

    available to include in the response.

    ▪ Long polling, the ReceiveMessage request queries all

    of the servers for messages. Amazon SQS sends a

    response after it collects at least one available

    message.

    ▪ Consume messages using short polling, Amazon SQS

    samples a subset of its servers and returns messages

    from only those servers.

    ▪ When the wait time for the ReceiveMessage API

    action is greater than 0, long polling is in effect. Long

    polling helps reduce the cost of using Amazon SQS

    by eliminating the number of empty responses.

    https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-short-and-long-polling.html

    Popularity 4/10 Helpfulness 2/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 13 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.