GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
how many connections can it hold.
It basically depends on the RAM. On an AWS large instance it can reach 10k
concurrent connections, with roughly 10k messages/second.
I did this testing some time ago, so these figures might have changed.
can it deal with offline message ? I mean pub users published message when sub users do not online.how to deal with that
the performance of offline messaging mainly depends on the used database. With LevelDB there is almost no performance overhead.
Have a look at: http://mcollina.github.io/mqtt_and_nodejs/#14