sbtinstruments / aiomqtt

The idiomatic asyncio MQTT client, wrapped around paho-mqtt
https://sbtinstruments.github.io/aiomqtt
BSD 3-Clause "New" or "Revised" License
392 stars 71 forks source link

Is it necessary to support mqtt connection pool? #303

Closed Renz2018 closed 2 weeks ago

Renz2018 commented 1 month ago

If necessary, should it be supported by aiomqtt or paho?

empicano commented 2 weeks ago

I usually use a single MQTT client for everything. If I want to e.g. publish in different places in the code, I reuse this single connection again and again. One might achieve better performance by using multiple connections, I honestly have never tried it, so I don't have any advice on this.

Hope that helps 🙂