|Re: [paho-dev] Mqtt|
Hi Saurabh,Each Java Paho client instance creates its own threads. If you want to create 1000s of clients in the same VM, you might run into problems.
What’s your use case, do you want to build benchmark tools or do you really need to create that many Paho clients? Paho works best in my experience when you don’t have too much MqttClient instances.
Best, Dominik On 27 Jul 2018, at 14:37, saurabh singh wrote:
Hello, Please tell me that is paho threade safe ? Because whenever we createClient object it starts new thread. If there are 1000 of clients. What willhappen ? If no then how to use it with asyncio or anything else. _______________________________________________ paho-dev mailing list paho-dev@xxxxxxxxxxxTo change your delivery options, retrieve your password, or unsubscribe from this list, visit
Back to the top