Acing 1 Million Concurrent MQTT Connections

How we reached a million long-running persistent connections in a test environment using MZBench as our load testing tool.

Finding the right tool

Using MZBench

Our setup

Courier infrastructure under test using MzBench test bench setup

Activity 1

Activity 2

Activity 3

Problems faced on target setup under test

Pub to Sub Latency in microseconds

Impact & Benefits



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Dhruv Jain

Engineering @ Gojek | Open source enthusiast and contributor @ Rocket.Chat and FOSSASIA