question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SQS consumer performance concern

See original GitHub issue

We are looking at the CPU usage of our workers, we have noticed that they use 100% of the available CPU. We have started running a profiler.

capture d ecran 2018-11-22 a 16 52 36

capture d ecran 2018-11-22 a 16 49 01

It feels like we are spending most of the time performing DNS lookups, TCP connections, TLS handshakes and AWS ACL verifications.

Is there a way to use the same agent, credentials between the repeative calls of sqs.receiveMessage().promise() and sqs.deleteMessage().promise()?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:18 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
oliviertassinaricommented, Jun 17, 2019

@thales-gaddini I have stopped using SQS.

0reactions
lock[bot]commented, Nov 12, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Increasing throughput using horizontal scaling and action ...
Learn how to increase the throughput of Amazon SQS using horizontal scaling and batching.
Read more >
AWS SQS queue improve performance - Stack Overflow
I have one consumer process that looks for messages from one SQS queue. A JSON message is placed in the SQS queue when...
Read more >
SQS Consumer Design: Achieving High Scalability while ...
In this blog post, we will focus on the best way to retrieve and handle messages from SQS using Golang within a single...
Read more >
Amazon's SQS performance and latency - SoftwareMill
Unlike a publish-subscribe system, a single message should be delivered to a single consumer, even when there are a lot of consumers running ......
Read more >
What do you need to know about SQS? - fourTheorem
Use cases, features, configuration, limits, integration with AWS Lambda · Preventing tight coupling between producers and consumers · Adding ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found