← Back to team overview

mosquitto-users team mailing list archive

Re: Build up a MQTT server with about 20, 000+ subscribers

 

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 scenario: QoS 0 only, no persistence, no SSL/encryption.
I imagine that if you add those features, the number will go down.
I will test with SSL connection in the upcoming days and will report my findings.
I also had to tweak the OS configuration (Ubuntu 12.04) to support such high number of TCP connections.  If needed, I will share the settings I used.
I also found a working way to connect from Eclipse Paho to mosquitto using SSL and server and client authentication.  I will publish this as git gist shortly.

For any more info, will be glad to help.

Sharon.

From: mosquitto-users-bounces+sharon.ben-asher=avg.com@xxxxxxxxxxxxxxxxxxx [mailto:mosquitto-users-bounces+sharon.ben-asher=avg.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of Joe Zhu
Sent: Monday, November 12, 2012 6:18 PM
To: mosquitto-users@xxxxxxxxxxxxxxxxxxx
Subject: [Mosquitto-users] Build up a MQTT server with about 20, 000+ subscribers

Our project need to setup and Android push notification service. I noticed many of projects are using MQTT protocol and I found this mosquitto.

  *   Any people has this experience for this? Will it be a problem while the subscribers grow up?
  *   What configuration do I need to handle for 20,000+ subscribers with QoS >1?
  *   Any dashboard and UI for mosquitto to monitor?
  *   Is it possible to integrate DB/Memcache/Mongodb for message tracking?
I'm not sure if it is a right place to ask this type of question in this mailing list,  if not, sorry about it.

Thanks.


--
Joe Zhu

Follow ups

References