More recently, a problem arose. The solution we settled on was to implement a beat strategy (ping-pong).
So, every 5 seconds, for example, send a ping message and wait for a pong response, and then delete the connection (the actor in our case) to the subscriber if the message is not received.
Robert Udah
source share