shipharbor / merry

:ocean::ocean::sailboat::ocean::ocean: - cute streaming API framework
MIT License
312 stars 21 forks source link

Add support for heartbeats #46

Open yoshuawuyts opened 7 years ago

yoshuawuyts commented 7 years ago

Process managers should be able to ping internal services to figure out how they're doing, and if they're frozen or spinning be able to reboot 'em. We should figure out a good way of doing this.

Some reference resources:

cc/ @davidmarkclements do you know of any prior art / any patterns you know of?

davidmarkclements commented 7 years ago

It may be overkill but the SWIM protocol is primarily for heartbeats - there's http://npm.im/swim also check out @mcollina upring http://npm.im/upring as a reference

yoshuawuyts commented 7 years ago

Thinking that republishing to a DHT might actually be a good one (: