proto: reduce lock contention and refactor
proto: reduce lock contention and refactor

rowhit/doozerd,npchp110/doozerd,ha/doozer,zyxar/doozerd,ha/doozerd,soundcloud/doozerd,ha/doozerd,ylong/doozerd,soundcloud/doozer,coreos/doozerd,soundcloud/doozerd,npchp110/doozerd,soundcloud/doozerd,npchp110/doozerd,jmptrader/doozerd,rowhit/doozerd,tempbottle/doozerd,tempbottle/doozerd,zyxar/doozerd,magastzheng/doozerd,jmptrader/doozerd,bitly/doozerd,magastzheng/doozerd,coreos/doozerd,tempbottle/doozerd,soundcloud/doozerd,jmptrader/doozerd,ylong/doozerd,rowhit/doozerd,magastzheng/doozerd,ylong/doozerd,npchp110/doozerd,rowhit/doozerd,bitly/doozerd,jmptrader/doozer,zyxar/doozerd,jmptrader/doozerd,bitly/doozerd,ha/doozerd,ylong/doozerd,coreos/doozerd,soundcloud/doozer,magastzheng/doozerd,coreos/doozer,npchp110/doozer,zyxar/doozerd,tempbottle/doozerd