← Back to team overview

mosquitto-users team mailing list archive

Python mosquitto client vs paho client

 

I've been using the Python client provided by the Mosquitto project in
production.
My environment is Linux and I'm processing ~ 12,000,000 messages per day.

I've been chasing some intermittent broken pipe (32)  exceptions using the
Mosquitto client without much luck, so I recently decided to swap in the
Paho Python client and see if the same errors occur.  So far the broken
pipe error has not recurred but it's early days - sometimes the error only
occurs once in a few hours, sometimes more frequently.

The Paho code seems to work well.

Before I get too invested in changing to the Paho client...

Are there any advantages / disadvantages for either of the clients?

Are there any significant implementation differences?

Are there any notable performance differences?  So far I haven't seen any
significant differences in CPU utilisation.

Thanks;

Roy Barkas
Australia

Follow ups