mqtt-utilities-unreal icon indicating copy to clipboard operation
mqtt-utilities-unreal copied to clipboard

high latency when publishing message

Open filipwasil opened this issue 4 years ago • 6 comments

Hello and thanks for the great work you did here.

I am testing the plugin in a system that needs low latency, and i noticed that the time needed for the message to show up in Eclipse mqtt subscriber is quite long when using this plugin.

When i test Eclipse Subscriber, Broker, and publisher ( https://mosquitto.org/ ) messages are being sent with very low latency ( less than 100ms for sure). When i test Eclipse Subscriber and Broker, but i use this plugin as a publisher, the messages are reaching the broker usually after ~400ms - 600ms.

Is this a known issue ? Do you know the reason for it ?

I run publisher, UE4 app, broker and subscriber all on local machine

filipwasil avatar Oct 30 '20 11:10 filipwasil

@filipwasil hi, what platform is it?

TarasOsiris avatar Oct 30 '20 11:10 TarasOsiris

Windows

filipwasil avatar Oct 30 '20 11:10 filipwasil

@filipwasil Please try the https://github.com/NinevaStudios/mqtt-utilities-unreal/tree/tls_support branch if it is the same

TarasOsiris avatar Oct 30 '20 11:10 TarasOsiris

Thanks, i will test it and be back to you

filipwasil avatar Oct 30 '20 11:10 filipwasil

In terms of delays and latency i see no differences between the tls_support and the release 1.0.0 i used previously

filipwasil avatar Oct 30 '20 12:10 filipwasil

@filipwasil thanks for checking, unfortunately, we don't have any more ideas, maybe you can try profiling it somehow

TarasOsiris avatar Oct 30 '20 12:10 TarasOsiris