zlacker

[return to "On SQS"]
1. yilugu+uE[view] [source] 2019-05-27 14:19:31
>>mpweih+(OP)
Has anyone ever measured the latency of the sending message to SQS? I was using with ELB in t2.medium instances, and my API (handle => send message to queue => return {status: true}) response times were around 150 - 300 ms and replaced SQS with RabbitMQ, and it went down to around 75-100 ms.

Does anyone think that sending message to SQS is slow?

Edit: With this update, I was able to process almost 3 x requests with the same resources, and it lowered my bills quite a lot.

For example my SQS bill for last month

Amazon Simple Queue Service EUC1-Requests-Tier1 $0.40 per 1,000,000 Amazon SQS Requests per month thereafter 290,659,096 Requests $116.26

it went to 0, and ec2 cost went down as well because ELB spun up fewer instances that I could handle more quest with the same resources.

This was my experience with SQS. I just wanted to share it.

◧◩
2. actuat+qH[view] [source] 2019-05-27 14:49:59
>>yilugu+uE
Umm.. is this in the same DC?

From what I remember from numbers from New Relic.

- The average SQS Put latency is: 10-20 ms.

- RabbitMQ Publish Message in the same DC should not be more than the round trip time of a DC assuming a persistent connection. So, about 0.5 ms

[go to top]