[zeromq-dev] cleaning up TCP sockets

guido dropbox at a-nugget.de
Fri Mar 22 10:00:41 CET 2013


On Thu, 21 Mar 2013 17:11:18 -0300
  Felipe Cruz <felipecruz at loogica.net> wrote:
> Maybe this can be done with the monitor api with a new

I think this is exactly the case where the people
normally yelling "we don't want this to be used by applications"
would chime in.

Heartbeats, and this would be a variant of it, should be handled
by the application.
This is the *only* place where the knowledge of what to do is
present. The lower levels, like ØMQ, simply have no idea what
"idle" or "busy" are.

Being one of the few "we need more monitoring in ØMQ" guys this
might sound weird, but I think in this case we wouldn't do any
good by exposing this.

Additionally we would need to define more options and functions
around the phrase "inactivity" -- which in itself would need a
decent definition.


More information about the zeromq-dev mailing list