-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For browser,maximum socket buffer size before throttling #568
Comments
I think sending 1k messages and process them as a single unit is not what MQTT is built for. |
Thanks for reply. |
why is it disconnected? Either the browser or the broker are emitting some logs? |
@urmik, I tried heavy loading mqtt.js with mosca and it works fine. Can you publish your code or test it with this https://github.com/mcollina/aedes/files/793556/Archive.zip from moscajs/aedes#88 |
Hello,
I am using browserify MQTT.js for websocket.
From single socket client, I am sending 1K messages(32KB size) at a time.
After few messages, my client gets disconnected.
Now I tried with increasing browser buffer size from
var bufferSize = options.browserBufferSize || 1024 * 512 // 512KB To
var bufferSize = options.browserBufferSize || 1024 * 1024 * 1024 //1 GB
In that case it works fine.
Regards,
Urmik
The text was updated successfully, but these errors were encountered: