All Products
Search
Document Center

:Does SMQ support the long polling technique?

Last Updated:Sep 02, 2024

Yes, SMQ support the long-polling technique. This topic describes how Simple Message Queue (formerly MNS) implements the long-polling technique.

SMQ returns a response for a long-polling request only when a message is available in the queue or the request times out. Therefore, long polling is cheaper and simpler than short polling. For more information, see Short polling and long polling.