Slow performance between Publish/Inject and seeing TX to network #1529
Unanswered
grantd-singular
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been successfully using MQTTnet / Extensions.RPC for quite some time, but recently noticed some performance issues where TX packets sometimes take a long time (1-4 seconds) to be sent after calling Publish.
Originally I was using sepearte instance of MqttServer and MqttClient, and utilziing loopback for communication between client and server, but in troubleshooting I changed to using the Inject and Intercept functionality directly on MqttServer.
System Specs:
.NET6.0
Windows 10
i9 processor
Wired Ethernet connection (dedicated for mqtt traffic. PTP to a target instrument).
I have logs that look like:
Any suggestion? I feel like Task and await is contributing, and am considering porting to dedicated standard Threads that can be more easily prioritized
Beta Was this translation helpful? Give feedback.
All reactions