Example 2 – buffering

The SQS is also a really good option for request buffering. Let's say we have a consumer application that can consume and process up to 10,000 messages per second, but the rate of these messages coming in from producers is very variable; anywhere between 1,000 and 100,000 messages per second are being produced. The queue service can queue up the spiky requests and the consumer application can easily process the messages from the queue at a constant rate.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.149.228.138