Improvement to Adaptive Backoff
Improvement to Adaptive Backoff

Summary:
In my previous testing I had found that the algorithm tends to
stay biased towards a higher retry interval. This diff will increase the
retry interval after two successive failures instead of 1 as it
currently is.

Test Plan:
repeat ab backoff testing

DiffCamp Revision: 111090
Reviewed By: zshao
Commenters: pkhemani, agiardullo, jsong
CC: agiardullo, zshao, jsong, pkhemani, groys, scribe-dev@lists
Revert Plan:
OK

git-svn-id: 5f7e48b0ca3861f7e8a9014a98a528473524201e@27233 2248de34-8caa-4a3c-bc55-5e52d9d7b73a

tempbottle/scribe,btnguyen2k/scribe,lawrencewu/scribe,InMobi/scribe,kovyrin/scribe,Tony-Zhang03/scribe,odin1314/scribe,traviscrawford/scribe,uuunic/scribe,yshaojie/scribe,fengshao0907/scribe,rdio/scribe-public,bowlofstew/scribe,kovyrin/scribe,fengshao0907/scribe,abhishekdelta/scribe,iyagi15/scribe,abhishekdelta/scribe,btnguyen2k/scribe,rdio/scribe-public,iyagi15/scribe,bowlofstew/scribe,InMobi/scribe,InMobi/scribe,rjbhewei/scribe,btnguyen2k/scribe,betable/scribe,bowlofstew/scribe,yshaojie/scribe,odin1314/scribe,lawrencewu/scribe,betable/scribe,swiftype/scribe,rdio/scribe-public,Tony-Zhang03/scribe,iyagi15/scribe,tempbottle/scribe,iyagi15/scribe,rjbhewei/scribe,facebookarchive/scribe,tempbottle/scribe,abhishekdelta/scribe,bowlofstew/scribe,Ayear0608/scribe,apprentice1989/scribe,esteigler/scribe,haozi3156666/scribe,tempbottle/scribe,facebookarchive/scribe,esteigler/scribe,Tony-Zhang03/scribe,Ayear0608/scribe,traviscrawford/scribe,kangkot/scribe,betable/scribe,apprentice1989/scribe,btnguyen2k/scribe,esteigler/scribe,InMobi/scribe,abhishekdelta/scribe,swiftype/scribe,schmits/scribe,fengshao0907/scribe,traviscrawford/scribe,Ayear0608/scribe,apprentice1989/scribe,bowlofstew/scribe,swiftype/scribe,bowlofstew/scribe,kangkot/scribe,fengshao0907/scribe,odin1314/scribe,facebookarchive/scribe,schmits/scribe,uuunic/scribe,kovyrin/scribe,InMobi/scribe,iyagi15/scribe,betable/scribe,haozi3156666/scribe,uuunic/scribe,apprentice1989/scribe,lawrencewu/scribe,lawrencewu/scribe,schmits/scribe,esteigler/scribe,rjbhewei/scribe,odin1314/scribe,uuunic/scribe,rdio/scribe-public,kangkot/scribe,lawrencewu/scribe,betable/scribe,yshaojie/scribe,btnguyen2k/scribe,kangkot/scribe,traviscrawford/scribe,kangkot/scribe,tempbottle/scribe,Tony-Zhang03/scribe,haozi3156666/scribe,schmits/scribe,apprentice1989/scribe,haozi3156666/scribe,Ayear0608/scribe,esteigler/scribe,swiftype/scribe,yshaojie/scribe,odin1314/scribe,fengshao0907/scribe,facebookarchive/scribe,rjbhewei/scribe,swiftype/scribe,schmits/scribe,kovyrin/scribe,rdio/scribe-public,facebookarchive/scribe,Tony-Zhang03/scribe,rjbhewei/scribe,traviscrawford/scribe,uuunic/scribe,Ayear0608/scribe,abhishekdelta/scribe,kovyrin/scribe,InMobi/scribe,yshaojie/scribe,haozi3156666/scribe,traviscrawford/scribe