2 ms·
One thing I keep on reminding people is that DNS is/was the first scalable, high distributed, key value store. Not only that it can be partitioned into subdoma
by KaiserPro 12y ago
One thing I keep on reminding people is that DNS is/was the first scalable, high distributed, key value store.
Not only that it can be partitioned into subdomains. There is also the concept of scope, which means you can adjust default records
So for things like service discovery you do things like this:
metrics-server.datacenter1.example.com
A 10.10.20.1
metrics-server.datacenter2.example.com
A 10.20.20.1
on each client the search scope will be set by the DHCP server. This means that if you lookup metric-server in datacenter1 you'll get 10.10.20.1, and in datacenter2 you'll get 10.20.20.1
however it can be a pain in the arse.
- tptacek 12y agoIt's easy to scale a KV store with no online updates.