Skip to content
Discussion options

You must be logged in to vote

I don't see anything obviously wrong here, although there are quite a few errors in the logs you should look into (TLS errors, missed heartbeats). I think the latency issue is more client-side. I can think of two ways to debug further:

  1. Capture the network traffic with tcpdump. Perhaps the latency is not really between the moment the message is published and confirmed but rather between when your app thinks it's published and when it is actually published on the network
  2. Write a simple app that reproduces the issue that you could share with us (based on what you are saying, it should be basically a tutorial-level app which just connects and publishes messages, while measuring latency).

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@noelmcgrath
Comment options

@kjnilsson
Comment options

@kjnilsson
Comment options

@noelmcgrath
Comment options

@kjnilsson
Comment options

Comment options

You must be logged in to vote
2 replies
@noelmcgrath
Comment options

@mkuratczyk
Comment options

Answer selected by michaelklishin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants