Barnacle - Gossip for Ruby.
I’ve been hacking on a side project the last few days that I think is pretty neat, and I’d love to get some feedback from the wider community.
It’s called barnacle, and it’s a gem that handles a simple gossip protocol.
What’s a gossip protocol, you ask? In a nutshell, it’s a building block for decentralized communication between nodes. Messages get propagated throughout the network, and nodes will grow their connections by asking other nodes for information.
I’ve got it running on a few machines backing a quick presence system I built together, but I haven’t used it yet on any really wide basis. It’s EventMachine backed, and uses Zeroconf to autodiscover any other nearby nodes. The testing is weak, and there’s a bunch of things I want to get done, but since I’ve hacked it to a usable level, I figured I’d put it out here.
Check it out on github, use it, fork it, break it, let me know what you think!