MQTT performance

25 views
Skip to first unread message

Heloise Chevalier

unread,
Oct 31, 2017, 10:55:28 AM10/31/17
to rabbitmq-users
Hi,

Do any of you have an idea of the maximum throughput that can be reached using the MQTT plugin?

I am aiming towards a throughput of 15 MB/s, but right now it seems the average throughput I can reach is 1.6 MB/s.

I am load testing the broker using malaria (https://github.com/remakeelectric/mqtt-malaria) and the paho.mqtt.python client. The maximum I managed to reach was around 6 MB/s when sending 1000 messages of 1 KB each on 60 processes. For now I am performing these tests on a single VM. I will be starting tests on a 3 machines cluster next week and was wondering if the throughput could then be increased to reach my goal of 15 MB/s?

I read in another thread (https://groups.google.com/forum/#!searchin/rabbitmq-users/mqtt|sort:date/rabbitmq-users/mU0QGqX1mFw/oc0EAYAlCQAJ) that the MQTT plugin wasn't performing great compared to AMQP and I am worried that I won't be able to reach my goal using RabbitMQ - MQTT.

Michael Klishin

unread,
Oct 31, 2017, 12:24:33 PM10/31/17
to rabbitm...@googlegroups.com
We are aware of results (some of which were reported on this list) that get to the 8-10K messages/s range.
I highly doubt they were using a Python client (Java or .NET are a lot more likely).

MQTT plugin is built as a layer on top of the core, so it does introduce a fair amount of overhead.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages