Hey all
We just published a module for allowing you to scale out socket.io in the
cloud using Azure Service Bus:
https://github.com/windowsazure/socket.io-servicebus
It gives you a store that you can just plug into your socket.io apps in a
non-invasive manner. It will then use ServiceBus under the hood to
synchronize the different socket.io instances.
Included in the module is a port of the socket.io chat app using the store
Below is a snippet of how to use it.
var sio = require('socket.io');var SbStore = require('socket.io-servicebus');
var io = sio.listen(server);io.configure(function () {
io.set('store', new SbStore({
topic: topicName,
subscription: subscriptionName,
connectionString: connectionString
}));});
npm install socket.io-servicebus
Kudos to Guillermo for helping us out.
Try it out, let us know what you think!
Thanks
Glenn
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.