88.0k views
0 votes
Long polling occurs when the WaitTimeSeconds parameter of a ReceiveMessage call is set to 0.

A. True
B. False

User Mikelowry
by
7.4k points

1 Answer

6 votes

Final answer:

The statement is false because long polling happens when the WaitTimeSeconds parameter is set to a value greater than 0, not 0.

Step-by-step explanation:

The statement 'Long polling occurs when the WaitTimeSeconds parameter of a ReceiveMessage call is set to 0' is false. Long polling is a technique where the server holds a request open until new data is available to send to the client, which can reduce the number of requests made to the server. In the context of AWS services like Amazon Simple Queue Service (SQS), long polling is enabled when the WaitTimeSeconds parameter is set to a value greater than 0. If WaitTimeSeconds is set to 0, short polling is used instead, where the server will respond immediately, even if it has no messages to return.

User Jmtoung
by
7.9k points

Related questions

asked Jan 18, 2024 113k views
Natie asked Jan 18, 2024
by Natie
7.8k points
1 answer
1 vote
113k views
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.