Message being drop even in TCP mode on single host? #1016
Replies: 3 comments 10 replies
-
Im seeing some API around QoS being reliable and best effort. Does that have an effect? |
Beta Was this translation helpful? Give feedback.
-
For a bit more information. Here is the little script I am testing with on the subscriber side
The result I am getting:
|
Beta Was this translation helpful? Give feedback.
-
So you are running on a single host and you get dropped messages caused by a slow subscription I assume. Can you please try out the new synchronized publishing API ? A synchronized send (send with a acknowledge timeout) will wait for the subscribers callback function execution before sending new messages. class ProtoPublisher(MessagePublisher):
"""Spezialized publisher that sends out protobuf messages
"""
...
def send_sync(self, msg, time, ack_timeout_ms):
return self.c_publisher.send_sync(msg.SerializeToString(), time, ack_timeout_ms) |
Beta Was this translation helpful? Give feedback.
-
May I know if there is any mechanism in eCAL subscriber to drop messages, even if they are on TCPpubsub transport?
I am doing a publisher at 200Hz or so, and subscribing it at another process. I am using an embedded ARM64 machine. I get frame drops. Is there anything can be tuned so I can get back the reliability that the TCP promises?
My message size is not big, less than 100 bytes per message.
Beta Was this translation helpful? Give feedback.
All reactions