Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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 create
Client object it starts new thread. If there are 1000 of clients. What will
happen ?
If no then how to use it with asyncio or anything else.
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev


Back to the top