Sacrilege and Zeroconf

October 13th, 2009

(Yes, I will get back to CouchDB soon. It’s my blog, I can post what I want. :) )

Recently, I’ve been toying around with Zeroconf, the “look ma, no hands” network service discovery better known as Bonjour on Mac and Avahi on Linux. It actually does a lot of different things, from “headless” network address negotiation to host name resolution, all built on top of (mostly) the same stuff that drives DNS across the web. It’s really cool stuff, and also really late for me to be getting into the game.

Anyway, the stuff I am most interested in is the “service discovery”, or the way two iTunes clients see each other without anyone entering in IP addresses. This is solid user-friendly tech, and this style of thinking should be implemented in more software.

So, when I found pyzeroconf, a pure python implementation of the service discovery stack, I was stoked. Until I tried running it, and all of the tests failed no matter what system I ran it on. I was no longer stoked. Thus I began reading, and this is always a dangerous thing.
Read the rest of this entry »