title: AWS SQS queue improve performance
body: <p>I tried implementing an AWS SQS Queue to minimise the database interaction from the backend server, but I am having issues with it.</p>
  
  <ul>
  <li>I have one consumer process that looks for messages from one SQS queue. </li>
  <li>A JSON message is placed in the SQS queue when Clients click on a button in a web interface.</li>
  <li>A backend job in the app server picks up the JSON message from the SQS queue, deletes the message from the queue and processes it.</li>
  </ul>
  
  <p>To test the functionality, I implemented the logic for one client. It was running fine. However, when I added 3 more clients it was not working properly. I was able to see that the SQS queue was stuck up with 500 messages and the backend job was working properly reading from the queue.</p>
  
  <p>Do I need to increase the number of backend jobs or increase the number of client SQS queues? Right now all the clients send the message to same queue.</p>
  
  <p>How do I calculate the number of backend jobs required? Also, is there any setting to make SQS work faster?</p>