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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:03:44+00:00 2026-05-28T03:03:44+00:00

I am not sure if pubsub or multiuserchat is the way to go? What

  • 0

I am not sure if pubsub or multiuserchat is the way to go?

What I think I need is pubsub, but with the added ability for subscribers to broadcast messages to the feed as well. Bidirectional information flow, if you will.

The use case is such that subscribers will be subscribed to on average 1000 different feeds, but each individual feed only broadcasts information on average once per week. So, lots of feeds, but low activity in each one. However, b/c there are 1000 different active subscriptions, a subscriber might still be notified of 100 messages per day, and they should be able to “reply” aka post content to any one of those feeds.

It seems like what I need is a pubsub/multiuserchat hybrid. But that doesn’t exist, or does it? Any ideas or pointers?

Thanks a bunch!

  • 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-28T03:03:44+00:00Added an answer on May 28, 2026 at 3:03 am

    If a subscriber is publishing data then they are not just a subscriber, they are a publisher. And there is no reason the same entity can’t be a publisher and a subscriber at the same time.

    As for your more general question about pubsub vs. MUC, that’s a question that I find comes up a lot nowadays.

    Obviously at first glance MUC and pubsub are very similar, they are both about broadcasting to a group. Many applications could easily use one or the other with no trouble.

    To help decide which fits best with your applications, let’s go through some of the differences between the two protocols.

    MUC:

    1. Is absolutely good for standard chatrooms of online users communicating with each other. If this is what you’re doing, use it.
    2. Includes presence, i.e. notifying other occupants about joining, leaving and changing status.
    3. Allows for anonymous private communication between occupants.
    4. Works out of the box with practically any standard XMPP client (for standard chat messages).
    5. Automatic leaving of the room when the user goes offline or disconnects.
    6. Messages with custom payloads are supported, meaning you are limited to routing standard chat messages.

    Pubsub:

    1. One or a few publishers transmitting to many read-only subscribers is core pubsub territory. In contrast to MUC the subscribers are not publishing, and are not receiving information about other subscribers.
    2. Server implementations tend to have much more flexible access control for pubsub.
    3. Custom payloads only, no standard chat messages.
    4. Optionally has full item persistence.
    5. A node can be managed as a list of items (ie. add/remove with notification) rather than just simple broadcast.
    6. Subscriptions can persist through being offline.

    The points above are just a guide. A lot can typically be achieved through server configuration. As an example, the MUC specification allows for rooms withholding presence broadcasts for certain classes of occupants based on configuration. The catch here is in the implementations… since this is an uncommon usage of MUC, you will find it may not be supported in many MUC implementations. The point being that as MUC was designed for chatting and not generic pubsub, you will largely find all the implementations and tooling around MUC to focus on that kind usage.

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

Sidebar

Related Questions

Not sure if this is even possible, but I think it's worth asking. What
Not sure why the plugin is behaving this way but whenever I refresh the
Not sure, but I think this may be a bug? Here is my model:
Not sure if there's a better way to do this but I have a
Not sure if im just being stupid or something but here goes i work
Not sure how to ask this, but i'll give it a try: I have
Not sure if this is a big deal. But wondering why when the site
not sure what I'm missing here, but i keep getting the error. SQLSTATE[HY093]: Invalid
Not sure if this is the correct Stack Exchange website but here goes.. A
Not sure why but I am not getting anything back from the json call.

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.