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

  • SEARCH
  • Home
  • 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 3982844
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:34:36+00:00 2026-05-20T05:34:36+00:00

RabbitMQ ticks all the boxes for the project I am planning, save one. I

  • 0

RabbitMQ ticks all the boxes for the project I am planning, save one. I would have different workers listening on a queue and it is important that they process the newest messages (i.e., latest sequence number) first (LIFO).

My application is such that newer messages pretty much obsolete older messages. If you have workers to spare you could still process the older messages but it is important the newer ones are done first.

After trawling the various forums and such I can only see one solution and that is for a client to process a message it should first:

  • consume all messages
  • re-order them according to the sequence number
  • re-submit to the queue
  • consume the first message

Ugly and problematic if the client dies halfway. But mabye somebody here has a better solution.

My research is based (in part) on:

  • http://groups.google.com/group/rabbitmq-discuss/browse_thread/thread/e79e77d86bc7a3b8?fwc=1
  • http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2010-July/007934.html
  • http://groups.google.com/group/rabbitmq-discuss/browse_thread/thread/e40d1069dcebe2cc
  • http://old.nabble.com/Priority-Queue-implementation-and-performance-td29946348.html

Note: the expected traffic of messages will roughly be in the range of 1 msg/hour for some queues and 100/minute for others. So nothing stellar.

  • 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-05-20T05:34:37+00:00Added an answer on May 20, 2026 at 5:34 am

    Since there is no reply I guess I did my homework rather well 😉

    Anyway, after discussing the requirements with the other stakeholders it was decided I can drop the LIFO requirement for now. We can worry about that when it comes to it.

    A solution that we will probably end up adopting is for the worker to open a second queue that the master can use to let the worker know what jobs to ignore + provide additional control/monitoring information (which it looks like we will need anyway).

    The RabbitMQ implementing the AMQP 1.0 spec may also help here.

    So I will mark this question as answered for now. Somebody else is still free to add or improve.

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

Sidebar

Related Questions

Is that possible to have mutex in RabbitMQ queue, i.e. If a client is
I have a Windows Service that retrieves messages from a RabbitMQ queue. The service
Is it possible to make multiple consumers to share one single queue in RabbitMQ?
I am using RabbitMQ to have worker processes encode video files. I would like
I have a rabbitmq queue subscriber that spins up a new thread every time
I have a simple RabbitMQ test program randomly enqueuing messages, and another reading them,
I want to send a message whenever RabbitMQ creates or deletes a queue, exchange
I am trying to listen to RabbitMQ queue by polling it. But somehow due
I have fresh installation of RabbitMQ on a linux/ubuntu server. Lets say the server
I am currently evaluating message queue systems and RabbitMq seems like a good candidate,

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.