Re: [Mosquitto-users] Build up a MQTT server with about 20, 000+ subscribers

2012-11-21 Thread Roger Light
Hi Mike, > Sharon, the problem that I can already tell you that will arise with SSL is > memory usage. I forget the exact numbers but calling the consumption > noticeable would be an understatement. Openssl >=1.0 allows SSL compression to be disabled which reputedly saves significant amounts of

Re: [Mosquitto-users] Build up a MQTT server with about 20, 000+ subscribers

2012-11-15 Thread Sharon Ben-Asher
Frisch, Michael Sent: Wednesday, November 14, 2012 7:42 PM To: Roger Light; mosquitto-users@lists.launchpad.net Subject: Re: [Mosquitto-users] Build up a MQTT server with about 20, 000+ subscribers My test involved 200k clients subscribed to 1 of 10 topics and publishing on the random interval of 0

Re: [Mosquitto-users] Build up a MQTT server with about 20, 000+ subscribers

2012-11-14 Thread Frisch, Michael
rs-bounces+michael.frisch=nuance@lists.launchpad.net] On Behalf Of Roger Light Sent: Wednesday, November 14, 2012 12:36 PM To: mosquitto-users@lists.launchpad.net Subject: Re: [Mosquitto-users] Build up a MQTT server with about 20, 000+ subscribers Hi Mike, > -There’s not much special

Re: [Mosquitto-users] Build up a MQTT server with about 20, 000+ subscribers

2012-11-14 Thread Roger Light
Hi Mike, > -There’s not much special, EC2 mediums can do 200k+ (yes, two > hundred) with QoS 2, SSL off, and a moderate number of messages publishing > constantly. Can you offer any further details on what "moderate" means here? Just a rough order of magnitude would be nice to know. > Sh

Re: [Mosquitto-users] Build up a MQTT server with about 20, 000+ subscribers

2012-11-14 Thread Frisch, Michael
@lists.launchpad.net [mailto:mosquitto-users-bounces+michael.frisch=nuance@lists.launchpad.net] On Behalf Of Sharon Ben-Asher Sent: Wednesday, November 14, 2012 5:17 AM To: Joe Zhu; mosquitto-users@lists.launchpad.net Subject: Re: [Mosquitto-users] Build up a MQTT server with about 20, 000

Re: [Mosquitto-users] Build up a MQTT server with about 20, 000+ subscribers

2012-11-14 Thread Sharon Ben-Asher
Hi Joe, We are investigating MQTT and mosquitto for the same purpose (push notifications for Android) As I said earlier. I was able to achieve 100K concurrent connections to one broker installed on medium sized AWS EC2 instance. However, for the purpose of benchmark, I used the most basic scenar

Re: [Mosquitto-users] Build up a MQTT server with about 20, 000+ subscribers

2012-11-13 Thread Joe Zhu
Horace, Here is my case why I want to store message to DB: - The number of subscribers is large - We will have a type of message which needs publish and make sure it can be delivered to all users. - A lot of subscribers will be disconnect for a few days. We will use QoS > 1 and Clean

Re: [Mosquitto-users] Build up a MQTT server with about 20, 000+ subscribers

2012-11-13 Thread horace
i just implemented a database storing on server side, here is how i did it: 1. setup a broker(server), let's call it S, 2. Then build a client (call it A) using any server side language you like (i used python, you can try with C or PHP), Roger's source code package has a complete Python clie

Re: [Mosquitto-users] Build up a MQTT server with about 20, 000+ subscribers

2012-11-13 Thread Roger Light
On Tue, Nov 13, 2012 at 12:54 PM, Joe Zhu wrote: > Look like payload only work for client lost connection. But doesn't for > client connect. > mosquitto_sub only have the --will-topic and --will-payload. It means > "client/+" couldn't get any payload for client connected. Is it right? That's c

Re: [Mosquitto-users] Build up a MQTT server with about 20, 000+ subscribers

2012-11-13 Thread Joe Zhu
Roger >> Any dashboard and UI for mosquitto to monitor? >It depends what you want to monitor. If you want to know which clients > are connected you could do as described on this page: > http://mqtt.org/wiki/doku.php/presence If you want to do other things > that can be handled through the protoco

Re: [Mosquitto-users] Build up a MQTT server with about 20, 000+ subscribers

2012-11-12 Thread Roger Light
Hi Joe, > Our project need to setup and Android push notification service. I noticed > many of projects are using MQTT protocol and I found this mosquitto. Yes, MQTT can be a good fit for push notification. I saw in your previous email you mentioned the tokudu demo. Please just be aware that the