[rabbitmq-discuss] RabbitMQ to the browser - scale question

Brian Lalor blalor at bravo5.org
Sat Jan 7 22:33:52 GMT 2012


On Jan 5, 12:01 pm, Marek Majkowski <maje... at gmail.com> wrote:

>> 2. What is the roadmap for rabbitmq_jsonrpc_channel?
> 
> As you may see from the commit history we're not heavily
> working on it at the minute. We're considering creating a plugin
> that would combine SockJS and rabbitmq-stomp plugin, in order to
> allow some form of web messaging.

I've got a very small-scale implementation of real-time updates to the browser using Node.js and Socket.IO.  My browser (Safari on iOS and OS X) supports WebSockets.  I don't know about throughput, but I'm very happy with the simplicity of the implementation.

The server:
https://github.com/blalor/home-automator/blob/master/ui/amqp_socketio_bridge.js

The client-side JavaScript:
https://github.com/blalor/home-automator/blob/master/ui/static/live_power/main.js

Basically, the browser connects to the Node.js server and subscribes to a couple of topics on an exchange, and then Socket.IO emits the messages as events which are received by the connected clients.


More information about the rabbitmq-discuss mailing list