PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, July 12, 2022

[FIXED] How many Amazon SQS ReceiveMessageRequest i can perform on single sqs queue using multiple consumer

 July 12, 2022     amazon-sqs, message, queue     No comments   

Issue

I have sqs queue "someQueue" and i have implemented multiple 100 consumer for it. i added wait_time_seconds as 20 seconds. now i am getting

"com.amazonaws.SdkClientException: Unable to execute HTTP request: Timeout waiting for connection from pool"

Is there any limit for receive message request? or i am missing something?


Solution

AWS default connection pool size is 50 connections, for one client. when i reduced the connection request to less than 50 it worked for me.



Answered By - Harshal Pagar
Answer Checked By - Katrina (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing