欢迎来到天天文库
浏览记录
ID:40051632
大小:2.83 MB
页数:9页
时间:2019-07-18
《CAP Twelve Years Later-How the Rules Have Changed 》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、COVERFEATURECAPTwelveYearsLater:Howthe“Rules”HaveChangedEricBrewer,UniversityofCalifornia,BerkeleyTheCAPtheoremassertsthatanynet-ancesmatter.CAPprohibitsonlyatinypartofthedesignworkedshared-datasystemcanhaveonlyspace:perfectavailabilityandconsistencyinthepresencetwoofthreedesirableproperti
2、es.How-ofpartitions,whicharerare.Althoughdesignersstillneedtochoosebetweenconsis-ever,byexplicitlyhandlingpartitions,tencyandavailabilitywhenpartitionsarepresent,theredesignerscanoptimizeconsistencyandisanincrediblerangeofflexibilityforhandlingpartitionsavailability,therebyachievingsometra
3、de-andrecoveringfromthem.ThemodernCAPgoalshouldoffofallthree.betomaximizecombinationsofconsistencyandavail-abilitythatmakesenseforthespecificapplication.Suchanapproachincorporatesplansforoperationduringanthedecadesinceitsintroduction,designersandpartitionandforrecoveryafterward,thushelping
4、de-researchershaveused(andsometimesabused)thesignersthinkaboutCAPbeyonditshistoricallyperceivedCAPtheoremasareasontoexploreawidevarietylimitations.Iofnoveldistributedsystems.TheNoSQLmovementalsohasapplieditasanargumentagainsttraditionalWHY“2OF3”ISMISLEADINGdatabases.Theeasiestwaytoundersta
5、ndCAPistothinkoftwoTheCAPtheoremstatesthatanynetworkedshared-datanodesonoppositesidesofapartition.Allowingatleastsystemcanhaveatmosttwoofthreedesirableproperties:onenodetoupdatestatewillcausethenodestobecomeinconsistent,thusforfeitingC.Likewise,ifthechoiceisto•consistency(C)equivalenttohav
6、ingasingleup-to-datepreserveconsistency,onesideofthepartitionmustactcopyofthedata;asifitisunavailable,thusforfeitingA.Onlywhennodes•highavailability(A)ofthatdata(forupdates);andcommunicateisitpossibletopreservebothconsistency•tolerancetonetworkpartitions(P).andavailability,therebyforfeitin
7、gP.Thegeneralbeliefisthatforwide-areasystems,designerscannotforfeitPThisexpressionofCAPserveditspurpose,whichwasandthereforehaveadifficultchoicebetweenCandA.toopenthemindsofdesignerstoawiderrangeofsystemsInsomesense,theNoSQLmovementisaboutcreatingandtradeoffs;
此文档下载收益归作者所有