-
Notifications
You must be signed in to change notification settings - Fork 0
Bus.io exchange without redis #1
Comments
You are moving int the right direction. I agree we should have different queues and pub subs that the exchange uses.
if we focus on the Queues and Pubsubs, we could potentially have people have combinations. var queue = require('bus.io-queue-koa')();
var pubsub = require('bus.io-queue-redis')();
var bus = require('bus.io')()
bus.queue(queue);
bus.pubsub(pubsub); |
@albertvp @paulforbes42 What do you think? |
To scale the platform we must have a queue, but if we want to use it on any simple app like the demos I think we should have this options to build a simple bus:
Obviously, the current solution is more robust. |
I agree. The |
Sorry, I don't know what you mean about the
|
Sorry,
|
Thanks, I understand that and how is on top of socket.io and redis. |
Checkout |
wow, To use Koa you must be running node 0.11.9 or higher? This will be running without redis and will have a server with an API without socket.io? |
I still want to use socket up they are complete separated On Thursday, June 12, 2014, Albert Vilà Picas [email protected]
|
|
Hi Nathan, I have tested the demo and examples of bus.io and I'm finding out how redis manages the pubsub queue, it's great!
However, I think that if redis connection is not established then should use the in-memory process (just like socket.io) for event subscription, do you think it's possible?
Maybe the strategy pattern for this requirement (redis not available) is the best way:
... as seen on passportjs https://www.npmjs.org/search?q=passport
The text was updated successfully, but these errors were encountered: