Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] starting on windows : 64 clients max??

Many thanks Roger for this message, it helps a lot in taking a decision.

About your suggestion on using RPI is there a way to assess its capabilities.
My client are ESP01 and they don't publish any message.
They only subscribe to a topic that allows them to trig some ledstrip light pattern.

The "main publisher" is a laptop and it publish only digits to the broker
For example : mosquitto_pub -t led_to_esp_number_80 -m 12
that trig the led pattern #12 on esp #80

Publication from the laptop to the 80 MC occur in "time cascade" .

Can a RPI do that?
Or my last option is to forgot websocket ....

Le jeu. 13 févr. 2020 à 22:01, Roger Light <roger@xxxxxxxxxx> a écrit :
Hi Leger,

It's possible that is out of date, but having a quick look at the
libwebsockets code I think it is still correct, I'm afraid. The
Windows calls that libwebsockets use only support 64 connections at
once. This only affects the websockets connections, the normal MQTT
connections are not limited in this way.

The way to work around this is to get libwebsockets to change (which
is unlikely), or possibly to make use of the libuv support in
libwebsockets, which *presumably* but not definitely doesn't have this
limit. I don't know how easy that would be to get working with
Mosquitto and I'm afraid it isn't a priority right at the moment. I'd
be happy to look at submissions for it though.

Sorry that's not more help. My other suggestion would be maybe running
it on a raspberry pi, that should be ok for what you want assuming
your 80 clients aren't sending very high message rates.

Regards,

Roger

On Thu, 13 Feb 2020 at 15:42, leger romain <laigeromain@xxxxxxxxx> wrote:
>
> Hi,
>
> I want to re-install my broker on windows 10 in order to use websocket with 80 MC / clients.
>
> However I 've seen in the readme-windows.txt that libwebsockets limits connections to a max of 64 clients.
>
> Is there a way to workaround this ?
>
> Thank you for advices.
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/mosquitto-dev
_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/mosquitto-dev

Back to the top