-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
client.publish() takes 200ms to execute #20
Comments
Hi @mccarr , And now I test on my AWS IoT works well(10hz) with Photon firmware version 0.8.0(rc-9).
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm trying to publish at 10Hz or greater but it seems like the library can't handle more than about 4 hz. By putting print statements just before publish(), it looks like this function call takes ~220ms. Is this right? Seems like a very long time for a protocol that is designed to be lightweight and speedy.
I tested the time for publish() to execute with both a long payload and a single character payload with basically no difference.
I'm connecting to AWS using TLS with the CA cert, client cert and client key.
Is this a fundamental limit on the speed of MQTT or am I doing something wrong with settings or configuration?
The text was updated successfully, but these errors were encountered: