文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > From Fast to Lightweight Atomic Memory in Large-Scale Dynamic Distributed Systems
侵权投诉

From Fast to Lightweight Atomic Memory in Large-Scale Dynamic Distributed Systems

Failure resilience is a fundamental problem. If failures are frequent, it is reasonable to envisage the replication on multiple servers. Although replicating an object (i.e., data) over multiple network locations copes with failures, this makes object modi

asDistributedSharedMemory(DSM).Forinstance,Attiyaetal.[4]proposearobustsingle-writermulti-reader(SWMR)sharedmemoryalgorithm.Thisalgo-rithmspeci esatwo-phasereadoperationandasin-glephasewriteoperation,eachphaseconsistinginanexchangeofmessagesbetweentheclientandamajor-ityofnodes.Morerecently,single-phasereadoperation,namelyfastread,appearedin[7,20].

Figure1.Theglobalknowledgeapproachreplicasarecalledownersandtheyareconsideredlo-callybyothernodesasactivecon gurationmembers.Restrictinggossipamongownersmakesrecon gurationpossibleprovidedthatatleastonememberofanycon- gurationisactive.However,maintainingsuchknowl-edgeatanynoderemainsunachievablewhenthenum-berofownersislarge,therecon gurationisfrequent,andacon gurationmembermustremainactive.Theserecon gurableapproachrequiresO(n)duringarecon- gurationwhileoperationsareexecutedinaconstantnumberofmessagedelaysaspresentedinFigure1(theclientisrepresentedbyaC,andthequorumhassize6).

2.1.Recon gurableAtomicMemory

Therobustnessindynamicsystemsismorechalleng-ing.Althoughusingmajorityofnodesisrobustinfaceofaboundednumberoffailures,indynamicsystemsthenumberoffailuresmightgrowin nitely.Thatis,recon- gurationhasbeenintroducedinRAMBO[15]tocopewithaccumulatedfailures.Therecon gurationprocessreplacesthesetsofcontactednodesbyactiveones.Thequorumreplicationissuf cienttocopewithfailuresoc-curringbetweensubsequentrecon gurations.

Fastrecon gurationisatthecoreoffaulttoleranceindynamicsystems.Moreprecisely,thefasterthesys-temswitchestothenewactivecon gurationthemorefault-tolerantthesystemis.RDS[6]proposesanaccel-eratedrecon gurationprocesscoupledwithfastreadop-erations.TheRDSalgorithmproposesfastrecon gura-tionusing"FastPaxos"[13,5]consensusalgorithmasafully-integratedpartofthesharedmemory.RDSim-plementsaleader-basedprotocolthatmakestherecon- gurationthreemessagedelayslongwhentheleaderstabilizes.Toconclude,RDSachievesafault-tolerantMWMRsharedmemoryespeciallysuitedfordynamicnetworks.

3.FacingScalability

Becauseoftherecentgrowinginterestfordynamiclarge-scalesystems,aradicallydifferentapproachhasbeenadopted.Thisapproachreliesstronglyonalocalityprinciple:participantsmaintainonlyapieceofthesys-teminformationdependingontheirlocation.Thereforerecon gurationismadelocallyandinvolveslessmes-sages.

3.1.RestrictingKnowledge

Assumingthateachnodemaintainstheinformationaboutarestrictedsetofnodes,recon gurationisexe-cutedlocally,thus,withlowcommunicationcomplexity.Thedirectdrawbackofsuchasolutionistheoperationlatency.Althoughrecon gurationmessagecomplexityisminimized,thetimecomplexityofanoperationisin-creased.Indeed,minimizingknowledgepreventsopera-tionfromcompletingafterasingleround-trip.Supposethatanyreplicamaintainsknowledgeofonlyoneotherreplicainalogicaloverlay.Then,inordertocontactanentirequorumaphasewilltakeasmanymessagede-laysasthenumberofthequorumelements.

2.2.RestrictingtheGossip

Aforementionedalgorithmssufferfromapotentialdrawbackwhenappliedinlarge-scalesystemswherethebandwidthcapacityisbounded.Indeed,operationexe-cutionatthecoreofthosealgorithmsreliesonthefactthatclientsknowthecurrentlyusedcon guration(i.e.,quorumsystem).Sinceanynodeisapotentialclient,anapproachistomaintainglobalknowledgeateachnodedespiterecon guration.Forthispurpose,oneshoulduseall-to-allgossip(messageexchange).Therefore,thenumberofmessagesproducedafterarecon gurationisn2.

In[10]theauthorsproposeasubstantialimprove-mentinordertoreducethecommunicationcomplexityfromquadratictolinear.Thekeyideaisroughlytodif-ferentiatereplicasfromcommonnodes.Inthis

From Fast to Lightweight Atomic Memory in Large-Scale Dynamic Distributed Systems

paper,

3.2.AdaptiveAtomicMemory

Global/localrecon gurationparadigmisinterest-inglyrelatedtotheproactive/reactiveroutingparadigm.

2

上一页第2页

你可能喜欢

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email