Maximum number of connections supported by mosquitto broker
3,833 views
Skip to first unread message
kushal bhatta
unread,
Apr 27, 2017, 8:28:33 AM4/27/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MQTT
HI, Could anyone please tell me the maximum number of connection that is well supported by mosquitto broker? Thanks, Kushal
kushal bhatta
unread,
Apr 27, 2017, 10:34:19 AM4/27/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MQTT
I am testing 200 clients run as different threads which is communicating to mosquitto broker .My scenario is out of 200 clients i am keeping 12 publishers and rest are subscribers.So it may happen that for one topic published there may be many subscribers.So , in this case,when i am publishing the last message and the last subscriber client,there is a time delay of around 4 minutes.Is it an acceptable behaviour? Here i am using paho clients and so most of the functionality is achieved by paho client itself
Roger Light
unread,
Apr 27, 2017, 10:39:06 AM4/27/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MQTT, ro...@atchoo.org
So, Is the delay iam getting a usual one or is it anabnormal behaviour? i am getting at only when therey is many subscriber to the same topic then i am seeing this type of behaviour in the log.Another thing is how many max connection would it support ?
kushal bhatta
unread,
Apr 28, 2017, 1:48:02 AM4/28/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MQTT
here is the wireshark packet tracer file which i am attaching for 300 connections i put a timeout of 5 min on the client side after which all the clients would stop sending publish message to the broker .But still the broker keeps on publishing message to the client despite client not publishing .I the broker retrying to send messages again?
Edit: is wireshark file not supported for upload?
kushal bhatta
unread,
Apr 28, 2017, 1:55:02 AM4/28/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message