zookeeper: Add ReducedLiveList and IPNetworkLiveList
commit50560d1b7dea8c94c035f3ef0a99af53a0bba1a0
authorBrian Simpson <bsimpson63@gmail.com>
Mon, 25 Jul 2016 23:59:47 +0000 (25 16:59 -0700)
committerBrian Simpson <bsimpson63@gmail.com>
Tue, 23 Aug 2016 22:53:12 +0000 (23 15:53 -0700)
tree6cc1bc47aa0e470015ce2b2b3889f62c257fd11c
parent8152d40e27a82f9694422f7bd34dd02a3e463f40
zookeeper: Add ReducedLiveList and IPNetworkLiveList

These classes are like LiveList (and use LiveList internally) but
they also store and watch a copy of the reduced data. This is useful
for cases where the map/reduce phase is slow and CPU intensive.
By storing the reduced data separately the map/reduce only needs
to be done by the process that's updating the list. All other processes
watch the reduced data node.
r2/r2/lib/zookeeper.py