Open
Description
Hi,
I’ve implemented a manual heartbeat (PublisherSocket to SubscriberSocket) set to every 10 seconds, and a keep-alive (RequestSocket to ResponseSocket) every 30 seconds(2 retries).
The purpose is to detect connection loss (so we can reconnect) and to prevent the connection from being dropped due to inactivity.
I’m aware that NetMQ has built-in support for both heartbeat and keep-alive, but they are disabled by default, and it seems many developers tend to avoid using them.
So, is there actually a need for implementing manual heartbeat and keep-alive like I’ve done?
Regards
Metadata
Metadata
Assignees
Labels
No labels