dotnet / MQTTnet

MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/.
MIT License
4.51k stars 1.07k forks source link

WithConnectionBacklog #912

Closed danielstock closed 4 years ago

danielstock commented 4 years ago

Describe your question

WithConnectionBacklog this function sets the max number of con-current connections? if i use mqttnet.server as an iot server, could it support 10k devices online together?

any information would be appreciated, thanks a lot!

Which project is your question related to?

chkr1011 commented 4 years ago

The ConnectionBacklog refers to the connection backlog at socket level. Usually you do not have to change this. https://stackoverflow.com/questions/36594400/what-is-backlog-in-tcp-connections

The count of clients is only limited by the available resources (CPU and RAM). So you have to try and increase machine power is required etc.

danielstock commented 4 years ago

thanks.