Re: Websocket + MQTT + NIO: Scaling

2014-06-18 Thread fredri
I have copied the configuration file here: http://pastebin.com/isJNA8rz I used jconsole to track the number of threads. -- View this message in context: http://activemq.2283324.n4.nabble.com/Websocket-MQTT-NIO-Scaling-tp4681426p4682282.html Sent from the Ac

Re: Websocket + MQTT + NIO: Scaling

2014-06-16 Thread fredri
I also tried with Apache Apollo and also get the same results where it seems there is one thread created per connection. I would really appreciate if anyone has an idea if I am doing something wrong, or if there is anything special required to tune ActiveMQ to dispatch the message asynchronously us

Websocket + MQTT + NIO: Scaling

2014-05-26 Thread fredri
I am using the mqttws31.js library in a HTML page to connect to ActiveMQ using the websocket transport which uses MQTT. While doing some testing with multiple clients (about 500 connections so far), I noticed the number of thread is growing to over 500, so I assume there is one thread per connectio