Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8142757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T12:54:36+00:00 2026-06-06T12:54:36+00:00

I have a request queue and a response queue. I would like to take

  • 0

I have a request queue and a response queue. I would like to take the message out of the request queue and put it into the response queue. I would like to be able to identify that the same message that was taken out of the request queue has been put into the response queue.

I am using Boto on GAE.

Firstly, I assumed that the message id would be constant. So I read the message from request queue, added the same message object to the response queue and queried the id – SQS had generated a new one.

Secondly, the body of my message is a json object so I added a custom field ‘messageId’ and generated my own id to store with the queue. But then I saw that there is a limit of reading 10 messages at a time from the queue. In addition, it is not guaranteed that the message will be returned because of the distributed nature of SQS.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T12:54:37+00:00Added an answer on June 6, 2026 at 12:54 pm

    Your message will be delivered, just not necessarily on any given request to fetch it, as you’ll be speaking to a random subset of the backend servers. There is no way in SQS to say, “I know there are 3 messages for me, give them to me right now.” The best you can do is poll until you eventually receive them. SQS is pretty neat, but its not the right choice for everything, have a look at RabbitMQ if you want something with less latency, more predictability, and ordered messages. Only problem with Rabbit is now scale is your problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a request in from a client that would like one of their
I have a request controller that is getting out of hand, and I want
I have 100 web servers and noticed that some of them have request filtering
I have ajax request that do 3 missions: Save Model (DB) Send Email Give
I have a request that returns a large xml file. I have the file
I have a method: @PUT @Consumes(MediaType.APPLICATION_XML) @Produces(MediaType.TEXT_PLAIN) public String createQueue(JAXBElement<Queue> queueElement) { // do
I have a scenario that I'm trying to turn into a more responsive UI
Can anyone please post a Python example that demonstrates the use of a request/response
I have a flow where I receive request via webservice. I forward that request
I have request where i need to change grid formatting on drop down action

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.