Questions tagged [publish-subscribe]

Publish/subscribe is a messaging pattern where senders (publishers) of messages do not program the messages to be sent directly to specific receivers (subscribers). Rather, published messages are characterized into channels, without knowledge of what, if any, subscribers there may be.

Publish/subscribe is a messaging pattern where senders (publishers) of messages do not program the messages to be sent directly to specific receivers (subscribers). Rather, published messages are characterized into channels, without knowledge of what, if any, subscribers there may be. Subscribers express interest in one or more channels, and only receive messages that are of interest, without knowledge of what, if any, publishers there are.

Among technologies known to implement the Publish/Subscribe pattern you can find :
( in a purely alphabetical order )

2940 questions
1
vote
0 answers

Socket.IO realtime connected users in cluster

I'm writing an application where it is important to be able to find out in real time whether a specific user (identified by a socket id) is currently connected to any machine inside the cluster or not... However, this does not seem possible in the…
1
vote
1 answer

How to find one collection item by an arbitrary property, but not _id, in Meteor?

I have an application that uses Flow Router and its pub/sub mechanics. I also have a collection and template helpers. The code is, on client Template.theCase.helpers({ theCase: function () { var id = FlowRouter.getParam('id'); …
rishat
  • 8,206
  • 4
  • 44
  • 69
1
vote
1 answer

Is there a standard approach for handling pub/sub message versioning?

I'm starting to work on pub/sub messaging internally, and there's a chance that over time, the format of a specific type of message will change. Is there a standard approach or pattern for handling this? If I'm listening for a message with a topic…
Matt Huggins
  • 81,398
  • 36
  • 149
  • 218
1
vote
0 answers

Meteor.js : SearchSource + Publish composite

I'm currently creating a research engine for my app. Until now, I used Publish composite + iron router : The user could had filters to search for some specific set of users. Now, I want him to be able to look for some keywords too. For that I…
David Panart
  • 656
  • 6
  • 20
1
vote
1 answer

Not able to receive XMPPPubsub events to node subscribers

I am developing an app like RSS Feeds. I want users to get feeds without calling any web service. I read out some documents and got a solution of using XMPP where XMPPPubsub gives us that functionality to send an event notification to all…
haresh
  • 486
  • 3
  • 18
1
vote
2 answers

N-Tier Publish/Subscriber Design Problem

I'm just getting into how to write a good architecture of a good software system, and I'm learning how to separate high level components into Layers. In this case, I'm trying to use Tiers, so as to model each Layer as a black box. There are 4 tiers…
Mike
  • 19,267
  • 11
  • 56
  • 72
1
vote
1 answer

How to change subscriber affiliation without owner intervention with XMPP PubSub

I am using XMPP Pubsub (XEP-0060). My application has the following requirements: Users can create pubsub nodes: This is working fine. Users can subscribe to already created nodes and automatically become publishers without owner intervention. I am…
musimbate
  • 347
  • 6
  • 25
1
vote
0 answers

Chat Architecture using Pusher android SDK

Im using Pusher SDK for android which is split up into Java for client and servers. My aim is to make a chat feature between two groups, A and B. These are the rules Members may only talk with people from the opposite group Only members of group A…
Varun Agarwal
  • 1,587
  • 14
  • 29
1
vote
1 answer

Publish-Subscribe for Akka Actor FSM not working

I have basic trait and sub classes for this trait. Each subclass subscribes to the event stream using its own event class. For example ActorFSM1 cares about InitEventImpl1 so it will subscribe to this event. However when I publish these specific…
user_1357
  • 7,766
  • 13
  • 63
  • 106
1
vote
2 answers

React mixin used to add multiple subscribes to component

I am trying to use a mixin to subscribe/ unsubscribe to messages in my component, I have the below code, can anyone please tell me if there is a better way to do this rather than a push for each subscription? UPDATED: keep getting error, Uncaught…
Bomber
  • 10,195
  • 24
  • 90
  • 167
1
vote
1 answer

Publish & Subscribe Messaging System "Shared Subscription" Explanation (TIBCO EMS)

Im reading the pdf tib_ems_user_guide.pdf to prepare for an upcoming project (a project on TIBCO ESB). I got no further than the intro when I ran into what I perceived as a contradiction. I realized i am not grasping this concept. (I read a little…
1
vote
1 answer

How to subscribe multiple publisher in redis rails?

I am having channels which are coming dynamically from another file .I have to subscribe to all the channels.But I am not able to loop through redis subscribe config=["channel1","channel2","channel3"] config.each do |ch| $redis.subscribe(ch) do…
Praveenkumar
  • 921
  • 1
  • 9
  • 28
1
vote
1 answer

WCF and Akka.Net vs Pub/Sub

We are using WCF for our company and we would like to make sure that we have complete separation between Client and Service. We would like to study to see if using either Akka.Net (Orlean) or one of the Pub/Sub frameworks can help us to reduce the…
Raha
  • 1,959
  • 3
  • 19
  • 28
1
vote
1 answer

Why aren't clients running against the same publish/subscribe service getting each other's messages?

I'm trying to implement publish/subscribe through WCF. My problem is that multiple clients originating from 1 computer work as expected, but clients on another box on the same network don't get the messages. I'm following this blog tutorial:…
alksjdf
  • 11
  • 1
1
vote
1 answer

Meteor: Why does my subscription not work?

I have following on server: items.allow({ 'insert': function (userId,doc) { return true; } }); Meteor.methods({ getChildren: function(parentId) { var children = items.find({parent: parentId}); …
Ram
  • 325
  • 4
  • 22