3 ms·
At StackVM we use an IRC bot to tell us when the servers are down. In our case the bot is just a DNode service so all the backend needs to do is connect to the
by substack 16y ago
At StackVM we use an IRC bot to tell us when the servers are down. In our case the bot is just a DNode service so all the backend needs to do is connect to the IRC service, post its message, and disconnect.
http://github.com/substack/rowbit http://github.com/substack/rowbit
It's a pretty great fit since we already use IRC a ton to coordinate development so we see the notifications right away.
- arosien 16y agoSweet. We use Apache ZooKeeper for service discovery and have a #zk channel. We just did a deployment, here's the irc log: (deploying the 'PM' service, updating instance pm12 first) [1:05pm] dm: PM leader changed from pm12 to (none) [1:05pm] dm: PM leader changed from (none) to pm11 [1:05pm] dm: UNANNOUNCED: ServiceDescriptor[id=pm12,kind=class com.kaching.platform.guice.KachingServices$PM,uri=http://10.99.110.140:8080,shards=[],status=UP http://10.99.110.140:8080,shards=[],status=UP] [1:05pm] dm: ANNOUNCED: ServiceDescriptor[id=pm12,kind=class com.kaching.platform.guice.KachingServices$PM,uri=http://10.99.110.140:8080,shards=[],status=INIT http://10.99.110.140:8080,shards=[],status=INIT] [1:05pm] dm: UPDATED: ServiceDescriptor[id=pm12,kind=class com.kaching.platform.guice.KachingServices$PM,uri=http://10.99.110.140:8080,shards=[],status=UP http://10.99.110.140:8080,shards=[],status=UP]