As far as I know each connection needs a socket. As there are only about
64k sockets I can not imagine that 1 million connection can be done on a
single system.
Apart from consumers how many messages per second do you expect?

Christian

2016-07-18 8:12 GMT+02:00 somnus <775289...@qq.com>:

> I want to use activemq to be an IOT message transport server which using
> mqtt
> protocol.
>
> Is it possible?
>
> there must be many connections (stand-alone one million or more),but per
> message package is small( simple json command) and no need for
> persistence(maybe code a plugin to log commands in Hbase)
>
> so i configure like this ?
>
>
> <transportConnectorname=&quot;mqtt+nio&quot;uri=&quot;mqtt+nio+ssl://m2mserver:1883?maximumConnections=1000000&amp;amp;wireFormat.maxFrameSize=102400&quot;&quot;/>
>
> then use master-slave(in zookeeper) & broker-cluster model
>
> will work?
>
>
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/To-be-IOT-mqtt-middleware-server-tp4714037.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
-- 
Christian Schneider
http://www.liquid-reality.de
<https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.liquid-reality.de>

Open Source Architect
http://www.talend.com
<https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.talend.com>

Reply via email to