资源描述:
《intro_to_distributed_algorithms》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、RachidGuerraoui,LusRodriguesIntroductiontoDistributedAlgorithms(PreliminaryDraft)November22,2004Springer-VerlagBerlinHeidelbergNewYorkLondonParisTokyoHongKongBarcelonaBudapestTowhomitmightconcern.*DRAFT*V(22/11/2004)PrefaceThismanuscriptaimsatoeringanintroductorydescriptionofd
2、istributedprogrammingabstractionsandofthealgorithmsthatareusedtoimplementthemindierentdistributedenvironments.Thereaderisprovidedwithaninsightonimportantproblemsindistributedcomputing,knowledgeaboutthemainalgorithmictechniquesthatcanbeusedtosolvetheseproblems,andexamplesofhowtoa
3、pplythesetechniqueswhenbuildingdistributedapplications.ContentInmoderncomputing,aprogramusuallyexecutesonseveralprocesses:inthiscontext,aprocessisanabstractionthatmayrepresentacomputer,aprocessorwithinacomputer,orsimplyaspecicthreadofexecutionwithinaprocessor.Thefundamentalprobl
4、emindevisingsuchdistributedprogramsusuallyconsistsinhavingtheprocessescooperateonsomecommontask.Ofcourse,traditionalcentralizedalgorithmicissues,oneachprocessindividually,stillneedtobedealtwith.Theaddeddicultyhereisaboutachievingarobustformofcooperation,despitefailuresordisconne
5、ctionsofsomeoftheprocesses,inherenttomostdistributedenvironments.Hadnonotionofcooperationbeenrequired,adistributedprogramwouldsimplyconsistofasetofdetachedcentralizedprograms,eachrunningonaspecicprocess,andlittlebenetcouldbeobtainedfromtheavailabilityofseveralmachinesinadistrib
6、utedenvironment.Itwastheneedforcooperationthatrevealedmanyofthefascinatingproblemsaddressedbythismanuscript,problemsthatwouldhaveotherwiseremainedundiscovered.Themanuscript,notonlyexposesthereadertotheseproblemsbutalsopresentswaystosolvethemindierentcontexts.Notsurprisingly,dist
7、ributedprogrammingcanbesignicantlysimpliedifthedicultyofrobustcooperationisencapsulatedwithinspecicabstrac-tions.Byencapsulatingallthetrickyalgorithmicissues,suchdistributedprogrammingabstractionsbridgethegapbetweennetworkcommunicationlayers,usuallyfrugalintermsofreliabilityg
8、uarantees,anddistributedap-plicationlaye