Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Mqtt

Hi Saurabh,

ah, I was somehow under the impression you were using the Java implementation, sorry for the confusion. I’m not familiar with the Python implementation but I guess there are multiple other people on this list who can chime in.

Best,
Dominik

On 27 Jul 2018, at 14:45, saurabh singh wrote:

Thank you for replying.
Sir ,
I am using paho with python,
I am trying to use paho with asyncio

On Fri, Jul 27, 2018, 6:11 PM Dominik Obermaier <dominik.obermaier@xxxxxxxxx> wrote:
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
_______________________________________________
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

_______________________________________________
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