You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I subscribed to a topic which from which I receive around 5-10 byte buffers per second.
Unfortunately, there are lag spikes while receiving the data. For example, 6 byte buffers are received very fluently and after that nothing comes through for about one or two seconds.
I set qos to .userInteractive. Is there something I can do to receive the data more fluently?
The text was updated successfully, but these errors were encountered:
I have not seen this type of behaviour in my usage of the library. You could try to debug reception of data and find the cause of the lag, perhaps by checking whether the lag happens before calling of receiving data closures or after that, in your own code. Also printing / logging out payload sizes and steps in the packet decoding might help you out, just to make sure everything works as you expect.
Since I took this long to answer, you may have found the solution already 🙂
I subscribed to a topic which from which I receive around 5-10 byte buffers per second.
Unfortunately, there are lag spikes while receiving the data. For example, 6 byte buffers are received very fluently and after that nothing comes through for about one or two seconds.
I set qos to
.userInteractive
. Is there something I can do to receive the data more fluently?The text was updated successfully, but these errors were encountered: