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 6812307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:26:00+00:00 2026-05-26T20:26:00+00:00

I am working on an application which consists of several modules and requires them

  • 0

I am working on an application which consists of several modules and requires them to share information with each other. Example: publish/subscribe scenario where a module publishes some information (e.g. a state variable) and modules interested in the particular information get it. Or a request/reply scenario where the interested module explicitly asks about the information and got answered.

I have been looking into different message bus implementations, namely D-bus, ØMQ, RabbitMQ and QPID (the latter two are based on AMQP). However then someone pointed out that instead of trying some complex and heavy message bus implementation, why don’t I simply use multicast to solve the problem.

Lacking the experience to see if multicast can really solve my problem and to understand the pros and cons of the two solutions, I would kindly request experts to help me out. Would very much appreciate.

  • 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-26T20:26:01+00:00Added an answer on May 26, 2026 at 8:26 pm

    Having experience with both message buses and multicast in a large, high-volume production environment, and having talked with several experienced network engineers about the problems, I can say that you should avoid multicast like the plague unless you are broadcasting to very high numbers of nodes (hundreds).

    If you’re going to use multicast you have to understand that it is an unreliable protocol. Messages can go missing, they can be duplicated, and so on. You’ll need to spend a lot of time getting the reliability protocol (retries, duplicate detection, resends) on top of multicast correct for it to be useful. There is a good anecdote about an army test of multicast commanded robotic tanks that I’m trying to find a reference for… basically when you are sending “turn right 90 degrees, turn right 90 degrees, fire” to a line of tanks and some of them receive only 1 turn right message and others get 3, it’s a recipe for mayhem.

    Depending on the sort of information you need to share there are several options.

    If they are sharing configuration information, look at something like Zookeeper. It’s reliable, lightweight, and simple to use. The most recent values of the shared state are always available and persisted. With a message bus you still need to have a resend protocol in case your module misses the last configuration message by being down.

    With respect to a message bus, they can be complex. However, I would not put ZeroMQ in that category necessarily. It can emulate a message bus, but it’s more of a point to point mechanism. I have not used it in production but the research and prototyping I’ve done with it was very favorable.

    Another option might be a distributed data grid like Oracle Coherence, GridGain, GigaSpaces, and so on. Again, this is another application to install and maintain so your complexity goes up, but there are many uses for a data grid.

    Another MQ option is HornetMQ. I haven’t used it (we use two commercial MQs in-house, both Sonic and MQ Series), but I’ve seen some favorable comparisons.

    D-Bus seems to be optimized for communication on a single machine, and the FAQ recommends looking elsewhere if you are doing peer-to-peer, clustering, or other similar things. Caveat: I have never used D-Bus so I’m basically regurgitating information I just read.

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

Sidebar

Related Questions

I'm working on a basic garden logging application which consists of gardens, plants and
i am working on one application which requires the feature of adding the custom
I have a Silverlight application that consists of a MainWindow and several classes which
I'm working on an application which consists of many HorizontalScrollViews. Initially, everything was fine.
My team is working on an Android project which consists of several Android applications
I am working on a .NET 3.5 project which consists of a web application
I am working on a mini-project which consists of doing a client-server chat application.
Currently i am working on a desktop application which consists mathematical analysiss.I am using
I'm working on an application which among other things downloads items that belong to
I am working on an ASP.NET MVC application which consists of a website where

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.