News for hackers. Stuff that matters.
Re:ZooKeeper vs. Doozer vs. Etcd by alanctgardner2 on Wednesday September 11, 2013 @09:22AM (#6366954)
Oh! Treat records as key-value pairs, and encode the value into the IP. If your timeout is 10 seconds, add a DNS record timeout.server.yourdomain which resolves to an IPv6 address with value 10. It gets tougher with ASCII strings, but you could support multi-record configs as well. Then your application just uses nslookup to download the config when you reload it.

If someone builds this I will be their best friend

Re:ZooKeeper vs. Doozer vs. Etcd by rkoz on Wednesday September 11, 2013 @10:01AM (#6367171)
DNS maybe good for lightweight service discovery, people have been doing it for ages. However I wont waste anytime trying to dress it up as an answer for real world config management problems (distributed, hierarchical, model-agnostic, consistent .."stuff")
Re:ZooKeeper vs. Doozer vs. Etcd by vidarh on Wednesday September 11, 2013 @11:29AM (#6367790)
The only one on your checklist that DNS doesn't cover is consistency, and there's tons of applications where short term inconsistency is totally acceptable.
Re:ZooKeeper vs. Doozer vs. Etcd by zorked on Wednesday September 11, 2013 @09:35AM (#6367021)
Well, at the very least there's a TXT record for strings. Access control and consistency may both be issues though.
Re:ZooKeeper vs. Doozer vs. Etcd by derefr on Wednesday September 11, 2013 @10:01AM (#6367178)
Crazily enough, this is built into most DNS implementations. It's called Hesiod-class records: http://en.wikipedia.org/wiki/Hesiod_(name_service)

If you've ever wondered why DNS requires the "IN" (for "Internet") in all its record declarations, it's to make this distinction. The other two options are "HE" (for Hesiod), and "CH", for http://en.wikipedia.org/wiki/Chaosnet.

Re:ZooKeeper vs. Doozer vs. Etcd by darkarmani on Wednesday September 11, 2013 @10:05AM (#6367193)
You can also use DNS like a distributed cache. This is useful when you have millions of clients because their local DNS server will do caching for you. You can also use it like a bloom filter where cache hits are true positives and anything that misses might or might not be a valid key.
Re:ZooKeeper vs. Doozer vs. Etcd by ecopoesis on Wednesday September 11, 2013 @11:51AM (#6367911)
That sounds like the opposite of a Bloom filter. In a Bloom filter, you can have false positives but you always get true negatives.
Re:ZooKeeper vs. Doozer vs. Etcd by darkarmani on Thursday September 12, 2013 @01:03AM (#6372171)
I meant to say "except" where i went on explaining the opposite kind of lookups.
Re:ZooKeeper vs. Doozer vs. Etcd by enigmo on Wednesday September 11, 2013 @10:55AM (#6367544)
That doesn't sound much at all like a bloom filter.