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
1 answer

Difference between EventHub and Topic in Azure

I am building an application that needs to be able to create events, publish them, and have multiple consumers. The tutorials I have found so far suggest that Azure Topics are the right thing to use for this (multiple publishers and multiple…
Mike
  • 1,718
  • 3
  • 30
  • 58
1
vote
1 answer

Web App Architecture - PublishSubscribe Pattern with NodeJS

Sorry if this not the typical stackoverflow question. However, I believe that there is a "best-practice" answer out there and I am just to inexperienced with nodeJS to know it. I am using the pusher api to receive some data. At the moment I am…
Carol.Kar
  • 4,581
  • 36
  • 131
  • 264
1
vote
1 answer

IBM.XMS IMessageConsumer - won't release - Can't unsubscribe

First: the issue I am unable to successfully do these steps on an asynchronous durable subscriber against ibm's mq topics. IMessageConsumer.MessageListener =…
dragonlipz
  • 21
  • 3
1
vote
2 answers

Related items in Meteor

I have groups and items and the items are related to specific groups. At the "detail page" of a group I want to see all the items belonging to the specific group. I've tried this Router.route('/group/:_id', { name: 'group', template: 'group', …
Jamgreen
  • 10,329
  • 29
  • 113
  • 224
1
vote
0 answers

Using document as a message bus (pubsub)

Is there any particular consideration against using the root node of the HTML document as a message bus for a web application? If this question is too generic please consider the case of a polymer MVC application. As far as I can see the document is…
Renaud
  • 4,569
  • 7
  • 41
  • 72
1
vote
1 answer

Trying to write publisher-subscriber relation using IFC pipes, forking too many subscribers

I'm trying to write a program that forks a server process, n publisher processes, m subscriber processes, create a pipe with each publisher and subscriber process, and listen for info on each pipe. I've done a little bit of work but I don't quite…
pramington
  • 51
  • 4
1
vote
1 answer

Discover meteor-Unsubscribe?

I am currently working on my own project, based on the discover meteor book. I have subscriptions of my collection 'posts'. I am using easy-search (a search package), and currently having some troubles. I have easy search on a overlay called in with…
1
vote
2 answers

Meteor - how can I empty out the collection of 10,000 objects I subscribed to after I no longer need it?

I have a template in which a user should be able to click on a button to bring up a modal and in the modal choose a handful of items out of a list of about 10,000 items which are displayed there to search or scroll through. Since this collection is…
tadasajon
  • 14,276
  • 29
  • 92
  • 144
1
vote
0 answers

Publish function with a query with a greater than now() timestamp in Meteor

I have a collection of objects with a date/timestamp property which designates when that item 'becomes active' and visible to the user. The items shouldn't be visible to the user until the time passes a certain point and the query condition holds…
alexanbj
  • 66
  • 5
1
vote
1 answer

C: Can i know the restore option in pubnub subscribe using C SDK

I am using a pubnub in my project for signalling purpose. i am using C sdk for programming. i am facing an issue that if two users are communicating each other if the internet is disconnected at user 1 side, and the user 2 send the request on their…
satish mb
  • 23
  • 3
1
vote
1 answer

Custom events handling in javascript

I have a problem with passing events from one object to another in Javascript. I tried to use PubSub to do that. Let me give an example: function A() { function _publish(){ PubSub.publish("test"); } function _doSth() { …
jacobs
  • 11
  • 1
1
vote
1 answer

Subscribing PubNub in python

I am making a small voting system in python and me plan was to have clients that ask the user for there vote and send it off using pubnub. I then wanted to make an application that will recive the votes and count them all up but I cannot find a way…
Sam Collins
  • 443
  • 5
  • 13
1
vote
1 answer

In NServiceBus, can I use both Pub/Sub messaging and Full Duplex at the same time?

We want to use NSB (NServiceBus) for our app development. We have a bunch (~6) of services that will get hooked into the NSB and where publish/subscribe pattern makes perfect sense. However, there is a configuration service also, where we need a…
John
  • 3,591
  • 8
  • 44
  • 72
1
vote
3 answers

Remove "wrapped" event handler for use in pub/sub messaging

I've done some pub/sub using jQuery events. Basic functionality works: var publish = function(name) { // --- works var args = Array.prototype.slice.call(arguments); // convert to array args = args.slice(1); …
h bob
  • 3,610
  • 3
  • 35
  • 51
1
vote
1 answer

Can I use PubNub for realtime data collection?

I'm interested in collecting realtime data periodically (say every 1 min.) through a mobile app on my server. Can I use services like PubNub or Pusher for it or are they only for communication in the other direction - like sending push notifications…
ddd
  • 359
  • 2
  • 5
  • 19
1 2 3
99
100