meteor-offline-data
meteor-offline-data copied to clipboard
Reliable dead window detection
The current code checks for dead windows by broadcasting a "ping" message, and then seeing which windows reply with a "pong" message within a timeout.
However, if the user's computer is overloaded, a window might not reply in time even if it is still alive. (Increasing the timeout would make this happen less often, but doesn't guarantee successful detection... and the longer the timeout, the longer it takes to detect that the agent window has crashed and to promote a new agent).
A more reliable method of dead window detection would be nice, though I'm not aware of one currently available in HTML5 technologies. (Which is too bad, since of course the browser knows which windows it's killed).