




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
DistributedSystemsComputer&InformationCollege,HohaiUniversitySept.2013CourseIntroductionQuestions?PleasecompletesurveyquestionsWhataredistributedsystems?Examples?MultiplehostsAnetworkcloudHostscooperatetoprovideaunifiedserviceWhydistributedsystems?forease-of-useHandlegeographicseparationProvideusers(orapplications)withlocationtransparency:Web:accessinformationwithafew“clicks”Networkfilesystem:accessfilesonremoteserversasiftheyareonalocaldisk,sharefilesamongmultiplecomputersWhydistributedsystems?foravailabilityBuildareliablesystemoutofunreliablepartsHardwarecanfail:poweroutage,diskfailures,memorycorruption,networkswitchfailures…Softwarecanfail:bugs,mis-configuration,upgrade…Toachieve0.999999availability,replicatedata/computationonmanyhostswithautomaticfailoverWhydistributedsystems?
forscalablecapacityAggregateresourcesofmanycomputersCPU:Dryad,MapReduce,Gridcomputing,CloudComputingBandwidth:AkamaiCDN,BitTorrentDisk:Frangipani,Googlefilesystem,DataCenterChallengesSystemdesignWhatistherightinterfaceorabstraction?Howtopartitionfunctionsforscalability?ConsistencyHowtosharedataconsistentlyamongmultiplereaders/writers?FaultToleranceHowtokeepsystemavailabledespitenodeornetworkfailures?Challenges(continued)SecurityHowtoauthenticateclientsorservers?Howtodefendagainstorauditmisbehavingservers?ImplementationHowtomaximizeIOparallelism?Howtoreduceloadonthebottleneckresource?AwordofwarningEasytomakedistributedsystemsthatarelessreliableandworseperformancethancentralizedsystems! PerformancecanbesubtleGoal:sustainedperformanceunderhighloadToy“distributedsystem”:
2employeesrunStarbucksEmployee1:takeordersfromcustomers,callsouttoemployee2Employee2:Writedownorders(5secondsperorder)Makedrinks(10secondsperorder)Whatisstarbuck’sthroughputunderincreasingload?Starbucks’throughputWhatistheidealcurve?Whatdesignachievesit?Ordersperminute(offeredload)4812drinksperminute(tput)24ReliabilitycanbesubtletooAdistributedsystemisasysteminwhichIcan’tdomyworkbecausesomecomputerthatI’veneverevenheardofhasfailed.”--LeslieLamportTopicsinthiscourseDistributedsystemsarchitecturesCommunication–RPC,RMI,MessageQueue…Processes–client,serversandmigratingcodeNaming–namingandfindingthingsSynchronization–gettingeverybodyinpaceConsistencyandreplication–scalability,replicationandconsistencyFaulttolerance–survivingfailuresSecurity–ensuringprivacyCommonparadigms–SOA,P2P,CloudComputingWebInfrastructureThisclasswillteachyou…PresentaconceptualmodelofdistributedsystemsDescribekeycomponentsofadistributedsystemandevaluatethetradeoffsofalternativearchitecturalmodelsSuggestalgorithmsuitableforapplicationindistributedsystemsBuildprototypeimplementationsofdistributedsystemsDemonstrateanunderstandingofthechallengesfacedbyfuturedistributedsystemsCoursereadingsDistributedSystems:PrinciplesandParadigms,byAndrewS.Tanenbaum,MaartenvenSteen,Prentice-Hall,2007.DistributedSystems:ConceptsandDesign,byGeorgeCoulouris,JeanDollimore,TimKindberg,AddisonWesley,2005.ReliableDistributedSystems:Technologies,WebServices,andApplications,byKennethP.Birman,SpringerVerlag,2005.分布式系统原理与范型,辛春生,陈宗斌等译,2008,清华大学出版社DistributedSystems:PrinciplesandParadigmsPrincipleadescriptivecomprehensiveandfundamentallaw,doctrine,orassumption;具有普遍意义的最基本的规律。科学的原理,由实践确定其正确性,可作为其他规律的基础。也指具有普遍意义的道理。ParadigmtheOxfordEnglishDictionarydefinesparadigmas"apatternormodel,anexemplar.“Howisanexperimenttobeconducted,andwhatequipmentisavailabletoconducttheexperiment.howdistributedapplicationsshouldbedeveloped每一个科学发展阶段都有特殊的内在结构,而体现这种结构的模型即“范式”。OrganizationofthebookPrinciplesofdistributedsystemsarediscussedinchapters2-902Architectures,03Processes,04Communication05Naming,06Synchronization,07ConsistencyandReplication08FaultTolerance,09SecurityWhereoverallapproachestohowdistributedapplicationsshouldbedeveloped(theparadigms)arediscussedinchapter10-1310DistributedObject-BasedSystems,11DistributedFileSystems,12DistributedWeb-BasedSystems13DistributedCoordination-BasedSystemsReferences
http://www.ece.ubc.ca/~matei/EECE411/
/~chiran/cs171/DistributedComputing,Peer-to-PeerandGRIDSCS244B,CS244C@StanfordFall2007:AdvancedandDistributedOperatingSystems@CMUDistributedComputerSystemsEngineering@MITcs425@UIUC
/~kig/CS333_SP97/References
GoogleCodeforEducatorsandRelatedCoursesClusterComputingandMapReduceMiniLectureSeriesIntroductiontoProblemSolvingonLargeScaleClustersUniv.ofWashington,CSE490h:Problem-solvingonlarge-scaleclusters:theoryandapplicationsUniv.ofMaryland’sJimmyLin:Web-ScaleInformationProcessingApplicationsMapReduceinaWeek/edu/parallel/index.html/edu/content/parallel.htmlCourseOrganizationCourseisorganizedasaseriesofLectures–asetoflecturesonthecorematerialReadings–additionalreadingsfrompapersandbookPresentation–paperdiscussionExam–finalreportortake-classfinalexamClassparticipationHowareyouevaluated?Classparticipation10%PaperorPresentation30%Exam60%Question?IntroductionofDistributedSystemsOutline1.0Motivation1.1DefinitionofADistributedSystem1.2GoalsMakingResourcesAccessibleDistributionTransparencyOpennessScalabilityPitfalls1.3TypesofDistributedSystemsDistributedComputingSystemsDistributedInformationSystemsDistributedPervasiveSystemsMotivationResourcesharing–bothphysicalresourcesandinformationComputationspeedup–tosolvelargeproblems,wewillneedmanycooperatingmachinesReliability-machinesfailfrequentlyCommunication–peoplecollaboratingfromremotesitesManyapplicationsarebytheirnaturedistributed(ATMs,airlineticketreservation,etc)TwoMainStimuliTechnologicalchangeUserneedsTechnologyadvancesNetworkingProcessorsMemoryStorageProtocolNetworkingJune1976:RobertMetcalfepresentstheconceptofEthernetattheNationalComputerConference1980:Ethernetintroducedasdefactostandard(DEC,Intel,Xerox)1985:thickEthernet:10Mbps,Bus-based1991:10BaseT-twistedpair:10Mbps1995:100MbpsEthernet1998:GigabitEthernet1999:802.11bstandard2001:10Gbpsintroduced2005:100Gbps(overopticallink)NetworkConnectivityThen:
largecompaniesanduniversitiesonInternetgatewaysbetweenothernetworksdial-upbulletinboards1985:1,961hostsontheInternetintheworldNow:OneInternet(mostly)2011:600millionhostsontheInternetinChina,2billionintheworldwidespreadconnectivity
High-speedWANconnectivity:1–>1GbpsSwitchedLANswirelessnetworkingcomputingpowercomputersgotsmallercheaperpowerefficientFastermicroprocessorsbecametechnologyleadersMemorymemoryhierarchiescacheshidelatencyofmainmemoryaccess,increaseaccessbandwidthmemorygetsdenser,processorsgetfasterlargercacheson-chipcache:1984:127bytes,today:multilevelcaches:firstintroduced~1986,today:cachingtechniquesreduceorhidemisslatenciescache-awareprogrammers/compliers/computersStoragecostreducedMainMemoryyear$/MBtypical1977$32,00016K1987$250640K-2MB1997$264MB-256MB2007$0.06512MB-2GB+2013$0.014GB-8GB+9,000xcheaper
4,000xmorecapacityStorage:disk131,000xcheaperin20years
30,000xmorecapacityRecordingdensityincreasedover60,000,000timesover50years1977:
310KBfloppydrive–$14801987:40MBdrivefor–$6792008:750GBdrivefor–$99,$0.13/GB2013:2TBdrivefor-$99,$0.05/GBProtocolsFasterCPUmoretimeforprotocolprocessingECC,checksums,parsing(e.g.XML)Image,audiocompressionfeasibleFasternetwork
biggerandbloatedprotocols(e.g.,SOAP/XML,H.232)transfermoredata(e.g.,music,movies,streamingdata)MorestoragestorerichmediaMediadeliveryandstorageAudioMPEG-3telephonequality:8kbpsMPEG-3FMquality:56-64kbps36hours/GBTelephoneaudio:64kbpsMPEG-3compressednear-CDaudio:96kbpsMPEG-3CDqualityaudio:112kbps20hours/GBCDqualityaudio:1.4MbpsHDTVaudio:3MbpsVideoMPEG-1compressedNTSCvideo:1.5Mbps1.5hours/GBJPEGcompressedNTSCvideo:3-7MbpsHDTVvideo:22-40Mbps4.5minutes/GBDigitalmoviesCompressed:45-65GB/moviesDecompressed:1.6TBStreamat1.5Gb/secDevelopmentofComputerTechnology1950s:serialprocessors1960s:batchprocessing1970s:time-sharing1980s:personalcomputing1990s:parallel,network,anddistributedprocessing2000s:wirelessnetworksandmobilecomputing2010s:cloudcomputingandsocialcomputingPeoplearedistributedOutline1.0Motivation1.1DefinitionofADistributedSystem
1.2GoalsMakingResourcesAccessibleDistributionTransparencyOpennessScalabilityPitfalls1.3TypesofDistributedSystemsDistributedComputingSystemsDistributedInformationSystemsDistributedPervasiveSystemsDistributedSystem:Definition(1)VerybroaddefinitionAcollectionofindependentcomputersthatappearstoitsuserasasinglecoherentsystem.Distributedsystemsare"seamless":theinterfacesamongfunctionalunitsonthenetworkareforthemostpartinvisibletotheuser.Twoaspects(1)independentcomputers(2)singlesystem=>middleware.DistributedSystem:Definition(2)DifferencesbetweenthevariouscomputersandthewaysinwhichtheycommunicatearemostlyhiddenfromusersUsersandapplicationscaninteractwithadistributedsysteminaconsistentanduniformway,regardlessofwhereandwheninteractiontakesplace.Adistributedsystemorganizedasmiddleware.Themiddlewarelayerextendsovermultiplemachines,andofferseachapplicationthesameinterface.GoalsofDistributedSystemsMakingresourcesavailableDistributiontransparencyOpennessScalabilityMakeResourcesAccessibleAccessresourcesandsharetheminacontrolledandefficientway.Printers,computers,storagefacilities,data,files,Webpages,andnetworks,…Connectingusersandresourcesalsomakesiteasiertocollaborateandexchangeinformation.Internetforexchangingfiles,mail,documents,audio,andvideoSecurityisbecomingincreasinglyimportantLittleprotectionagainsteavesdroppingorintrusiononcommunicationTrackingcommunicationtobuildupapreferenceprofileofaspecificuserDistributionTransparencyTransparency:hidethefactthatitsprocessesandresourcesarephysicallydistributedacrossmultiplecomputers.Access–What’sdatarepresentation?Connectingmachineswithdifferentarchitectureandfile-nameconventionsLocation–Where’stheresourcelocated?NamingiskeyMigration–Havetheresourcemoved?Replication–Istheresourcebeingmove?Concurrency–Isanybodyelseaccessingtheresourcenow?Failure–Hasitbeenworkingallalong?DistributionTransparencyNote:Distributiontransparencymaybesetasagoal,butachievingitisadifferentstory.DistributedSystem:DefinitionDuetoLesliLamportAdistributedsystemis“Youknowyouhaveonewhenthecrashofacomputeryou’veneverheardofstopsyoufromgettinganyworkdone.”Thisdescriptionputsthefingeronanotherimportantissueofdistributedsystemsdesign:dealingwithfailures.LesliLamportLamportisbestknownforhisseminalworkindistributedsystems
andastheinitialdeveloperofthedocumentpreparationsystemLaTeX.Lamport’sresearchcontributionshavelaidthefoundationsofthetheoryofdistributedsystems.Amonghismostnotablepapersare“Time,Clocks,andtheOrderingofEventsinaDistributedSystem”,whichreceivedthePODCInfluentialPaperAwardin2000“TheByzantineGeneralsProblem”“DistributedSnapshots:DeterminingGlobalStatesofaDistributedSystem”and“ThePart-TimeParliament”.Thesepapersrelatetosuchconceptsaslogicalclocks
(andthehappened-beforerelationship)andByzantinefailures.Theyareamongthemostcitedpapersinthefieldofcomputerscienceanddescribealgorithmstosolvemanyfundamentalproblemsindistributedsystems,including:thePaxosalgorithm
forconsensus,thebakeryalgorithmformutualexclusion
ofmultiplethreadsinacomputersystemthatrequirethesameresourcesatthesametimeandthesnapshotalgorithm
forthedeterminationofconsistentglobalstates.DegreeofTransparencyObservation:Aimingatfulldistributiontransparencymaybetoomuch:Usersmaybelocatedindifferentcontinents;distributionisapparentandnotsomethingyouwanttohideCompletelyhidingfailuresofnetworksandnodesis(theoreticallyandpractically)impossibleYoucannotdistinguishaslowcomputerfromafailingoneYoucanneverbesurethataserveractuallyperformedanoperationbeforeacrashFulltransparencywillcostperformance,exposingdistributionofthesystemKeepingWebcachesexactly
up-to-datewiththemastercopyImmediatelyflushingwriteoperationstodiskforfaulttoleranceDegreeofTransparencyDowereally
wanttransparency?Impossible–remotecontrollingaspaceshipAbadidea–creatingfalseexpectationsAgainstapplication’sgoals–pervasivecomputingandlocationawarenessScaleinDistributedSystemsObservation:Manydevelopersofmoderndistributedsystemeasilyusetheadjective“scalable”withoutmakingclearwhy
theirsystemactuallyscales.Scalability:Atleastthreecomponents:Numberofusersand/orprocesses(sizescalability)Maximumdistancebetweennodes(geographicalscalability)Numberofadministrativedomains(administrativescalability)ScalabilityProblems@sizeDecentralizedalgorithms:Nomachinehascompleteinformationaboutthesystemstate.Machinesmakedecisionsbasedonlyonlocalinformation.FailureofonemachinedoesnotruinthealgorithmThereisnoimplicitassumptionthataglobalclockexistsScalabilityProblems@geographySynchronouscommunicationApartyrequestingservice,generallyreferredtoasaclient,blocksuntilareplyissentback.WANsisunreliableandPoint-to-pointLANsprovidereliablecommunicationfacilitiesbasedonbroadcasting.Geographicalscalabilityisstronglyrelatedtotheproblemsofcentralizedsolutionsthathindersizescalability.Inaddition,centralizedcomponentsnowleadtoawasteofnetworkresources.ScalabilityProblems@administrationItisadifficultandinmanycasesopenquestionConflictingpoliceswithrespecttoresourceusage(andpayment),management,andsecurity.E.g.,Residewithinasingledomaincanoftenbetrustedbyusersthatoperatewithinthatsamedomain.DownloadingprogramssuchasappletsinWebbrowsers.TechniquesforScalingHidecommunicationlatencies:
Avoidwaitingforresponses;dosomethingelse:MakeuseofasynchronouscommunicationHaveseparatehandlerforincomingresponseProblem:noteveryapplicationfitsthismodelMovecomputationstoclients(Javaapplets)Distribution:
Partitiondataandcomputationsacrossmultiplemachines:Decentralizednamingservices(DNS)Decentralizedinformationsystems(WWW)Replication/caching:
Makecopiesofdataavailableatdifferentmachines:ReplicatedfileserversanddatabasesMirroredWebsitesWebcaches(inbrowsersandproxies)Filecaching(atserverandclient)ScalingTechniquesExample(1)Technique:OffloadworktoclientsScalingTechniquesExample(2)Technique:Dividetheproblemspace.
example:thewayDNSdividesthenamespaceintozones.Scaling–TheProblemObservation:Applyingscalingtechniquesiseasy,exceptforonething:Havingmultiplecopies(cachedorreplicated),leadstoinconsistencies:modifyingonecopymakesthatcopydifferentfromtherest.Alwayskeepingcopiesconsistentandinageneralwayrequiresglobalsynchronization
oneachmodification.Globalsynchronizationprecludeslarge-scalesolutions.Observation:Ifwecantolerateinconsistencies,wemayreducetheneedforglobalsynchronization.Observation:Toleratinginconsistenciesisapplicationdependent.OpennessGoal:Opendistributedsystem--abletointeractwithservicesfromotheropensystems,irrespectiveoftheunderlyingenvironment:Standardrules(protocols/interfaces)todescribeservices/componentsInterfaceddefinitionsshouldbe:Complete&VendorneutralThesehelpmakingsystem/servicesshouldinteroperable&portableFlexibility–abilitytointegratemultiplecomponentsAchievingopenness:Atleastmakethedistributedsystemindependentfromheterogeneity
oftheunderlyingenvironment:HardwarePlatformsLanguagesSeparatingpolicyandmechanismToachieveflexibility:
splitthesystemsinsmallercomponents.Componentsrequiressupportfordifferentpoliciesspecifiedbyapplicationsandusers:Example–webbrowsercaching;Mechanism:cachinginfrastructurePolicy:whattocache,howlargethecacheis,cachereplacementalgorithms,OtherexamplesWhichoperationsdoweallowdownloadedcodetoperform?WhichQoSrequirementsdoweadjustinthefaceofvaryingbandwidth?Whatlevelofsecrecydowerequireforcommunication?DevelopingDistributedSystems:PitfallsObservation:Manydistributedsystemsareneedlesslycomplexcausedbymistakesthatrequiredpatchinglateron.Manypossiblefalseassumptions:ThenetworkisreliableThenetworkissecureThenetworkishomogeneousThetopologydoesnotchangeLatencyiszeroBandwidthisinfiniteTransportcostiszeroThereisoneadministratorOutline1.0Motivation1.1DefinitionofADistributedSystem1.2GoalsMakingResourcesAccessibleDistributionTransparencyOpennessScalabilityPitfalls1.3TypesofDistributedSystemsDistributedComputingSystemsDistributedInformationSystemsDistributedPervasiveSystemsTypesofDistributedSystemsDistributedcomputingsystemsCommonlyusedinhigh-performancecomputingClustersGridsDistributedinformationsystemsDistributedtransactionsystemsEnterpriseapplicationintegrationDistributedpervasivesystemsHomesystemsHealthcareSensornetworksDistributedComputingSystems(1/2)Observation:ManydistributedsystemsareconfiguredforHigh-PerformanceComputingClusterComputing:Essentiallyagroupofhigh-endsystemsconnectedthroughaLAN:Homogeneous:sameOS,near-identicalhardwareSinglemanagingnodeBeowulfclusterconfigurationMasternodeprovidesinterfacetouserandhandlesjoballocationsDistributedComputingSystems(2/2)GridComputing:lotsofnodesfromeverywhere:HeterogeneousDispersedacrossseveralorganizationsCaneasilyspanawide-areanetworkKeyissue–sharingresourcesacrossorganizationsThus,muchpaingoesintostandardsandinterfacesNote:Toallowforcollaborations,gridsgenerallyusevirtualorganizations.Inessence,thisisagroupingofusers(orbetter:theirIDs)thatwillallowforauthorizationonresourceallocation.DistributedComputingSystems(2/2)AnearlyexamplearchitectureforgridsFabric–interfacestolocalresourcesConnectivity–communicationprotocolsforsupportingtransactionsusingmultipleresourcesResource–managementofasingleresourceCollective–handle
accesstomultipleresourcesAlayeredarchitectureforgridcomputingsystems.DistributedInformationSystemsObservation:organizationsthatwereconfrontedwithawealthofnetworkedapplications,butforwhichinteroperabilityturnedouttobeapainfulexperience.Manyoftheexistingmiddlewaresolutionsaretheresultofworkingwithaninfrastructureinwhichitwaseasiertointegrateapplicationsintoanenterprise-wideinformationsystemWecandistinguishseverallevelsatwhichintegrationtookplace.TransactionProcessingSystemsInmanycases,anetworkedapplicationsimplyconsistedofaserverrunningthatapplication(oftenincludingadatabase)andmakingitavailabletoremoteprograms,calledclients.EnterpriseApplicationIntegration(EAI)Asapplicationsbecamemoresophisticatedandweregraduallyseparatedintoindependentcomponents(notablydistinguishingdatabasecomponentsfromprocessingcomponents),itbecameclearthatintegrationshouldalsotakeplacebylettingapplicationscommunicatedirectlywitheachother.DistributedinformationsystemsOrganizationshavemultiplenetworkedapplications–howtointegratethem?Fordatabase-orientedapplication&atthelowestlevelTransaction–setofoperationwithACIDpropertiesAtomic–allornothingatallConsistent–ifconsistentbefore,consistentafterIsolated–concurrenttransactionsdon’tinterferewitheachotherDurable–onceit’sdone,it’spermanentNestedtransactionsfordistributedsystemsPermanent?Onlyforthetop-leveltransactionTointegrateapplicationindependentfromtheirdatabasesDifferentcommunicationmodels:RPC,RMI,andMOM…DistributedInformationSystemsObservation:Thevastamountofdistributedsystemsinusetodayareformsoftraditionalinformationsystems,thatnowintegratelegacysystems.Example:Transactionprocessingsystems.BEGINTRANSACTION(server,transaction);READ(transaction,file-1,data);WRITE(transaction,file-2,data);newData:=MODIFIED(data);IFWRONG(newData)THEN ABORTTRANSACTION(transaction);ELSE WRITE(transaction,file-2,newData); ENDTRANSACTION(transaction);ENDIF;Essential:AllREADandWRITEoperationsareexecuted,i.e.theireffectsaremadepermanentattheexecutionofENDTRANSACTION.Observation:Transactionsformanatomic
operation.AnestedtransactionsIsconstructedfromanumberofsubtransactionsGainperformanceorsimplifyprogramming.TransactionProcessingMonitorObservation:Inmanycases,thedatainvolvedinatransactionisdistributedacrossseveralservers.ATPMonitor
isresponsibleforcoordinatingtheexecutionofatransaction:DistributedInformationSystems:
EnterpriseApplicationIntegrationProblem:ATPmonitorworksfinefordatabaseapplications,butinmanycases,theappsneededtobeseparatedfromthedatabasestheywereactingon.Instead,whatwasneededwerefacilitiesfordirectcommunicationbetweenapplications:RemoteProcedureCall(RPC)Message-OrientedMiddleware(MOM)DistributedPervasiveSystemsObservation:Thereisanext-generationofdistributedsystemsemerginginwhichthenodesaresmall,mobile,andoftenembeddedaspartofalargersystem.Somerequirements:Contextualchange:Thesystemispartofanenvironmentinwhichchangesshouldbeimmediatelyaccountedfor.Adhoccomposition:Eachnodemaybeusedinaverydifferentwaysbydifferentusers.Requiresease-of-configuration.Sharingisthedefault:Nodescomeandgo,providingsharableservicesandinformation.Callsagainforsimplicity.Observation:Pervasivenessanddistributiontransparencymaynotalwaysformagoodmatch.PervasiveSystems:ExamplesHomeSystems:Shouldbecompletelyself-organizing:ThereshouldbenosystemadministratorProvideapersonalspace
foreachofitsusersSimplestsolution:acentralizedhomebox?Electronichealthsystems:Devicesarephysicallyclosetoaperson:Whereandhowshouldmonitoreddatabestored?Howcanwepreventlossofcrucialdata?Whatinfrastructureisneededtogenerateandpropagatealerts?Howcansecuritybeenforced?Howcanphysiciansprovideonlinefeedback?SensornetworksCharacteristics:Thenodestowhichsensorsareattachedare:Many(10s-1000s)Simple(i.e.,hardlyanymemory,CPUpower,orcommunicationfacilities)Oftenbattery-powered(orevenbattery-less)Sensornetworksasdistributedsystems:considerthemfromadatabaseperspective:Summary(1/2)Distributedsystemsconsistofautonomouscomputersthatworktogethertogivetheappearanceofasinglecoherentsystem.Oneimportantadvantageisthattheymakeiteasiertointegratedifferentapplicationsrunningondifferentcomputersintoasinglesystem.
Anotheradvantageisthatwhenproperlydesigned,distributedsystemsscalewellwithrespecttothesizeoftheunderlyingnetwork.Distributedsystemsoftenaimathidingmanyoftheintricaciesrelatedtothedistributionofprocesses,data,andcontrol.However,thisdistributiontransparencynotonlycomesataperformanceprice,butinpracticalsituationsitcanneverbefullyachieved.Thefactthattrade-offsneedtobemadebetweenachievingvariousformsofdistributiontransparencyandcaneasilycomplicatetheirunderstanding.Summary(2/2)Mattersarefurthercomplicatedbythefactthatmanydevelopersinitiallymakeassumptionsabouttheunderlyingnetworkthatarefundamentallywrong.Later,whenassumptionsaredropped,itmayturnouttobedifficulttomaskunwantedbehavior.Otherpitfallsincludeassumingthatthenetworkisreliable,static,secure,andhomogeneous.Differenttypesofdistributedsystemsexistwhichcanbeclassifiedasbeingorientedtowardsupportingcomputations,informationprocessing,andpervasiveness.Distributedcomputingsystemsaretypicallydeployedforhigh-performanceapplicationsoftenoriginatingfromthefieldofparallelcomputing.Ahugeclassofdistributedcanbefoundintraditionalofficeenvironmentswhereweseedatabasesplayinganimportantrole.Typically,transactionprocessingsystemsaredeployedintheseenvironments.Finally,anemergingclassofdistributedsystemsiswherecomponentsaresmallandthesystemiscomposedinanadhocfashion,butmostofallisnolongermanagedthroughasystemadministrator.DistributedSystems
ArchitecturesYingchiMaoOutlineArchitecturalstylesSystemarchitecturesArchitecturesversusmiddlewareSelf-managementindistributedsystemsWhatisaDistributedSystem?Adistributedsystemis:acollectionofindependentcomputersthatappearstoitsusersasasinglecoherentsystemDefinitionofaDistributedSystem(II)IndependenthardwareinstallationsUniformsoftwarelayer(middleware)Note:themiddlewarelayerextendsovermultiplemachinesMiddlewareGeneralstructureofadistributedsystemasmiddleware.MiddlewareandInteroperabilityInteroperabilityprovidedby:ProtocolsusedbyeachmiddlewarelayerInterfacesofferedtoapplicationsIndependent
hardwareinstallationsUniformsoftwarelayer(middle
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 公路碎石加工合同范本
- 出租回租合同范本
- 颗粒炉子销售合同范本
- 合同范本日期更改
- 小店转让早餐合同范本
- 教育孩子的心得体会怎么写【范例10篇】
- 会计工作心得体会感悟简短(汇编10篇)
- 上半年工作总结及下半年工作计划范文(5篇)
- 校园文化建设章程模板
- 2025年北京安管人员考试试题及答案
- 2025至2030中国压力袜(弹性袜)行业项目调研及市场前景预测评估报告
- 2026届新高考历史热点冲刺复习秦统一多民族封建国家的建立
- 征兵体检面试全攻略:面试题及答案解析
- 工会保障培训课件
- 【课件】长度和时间的测量教学课件2025-2026学年初中物理人教版(2024)八年级上册
- 2025年国企中层干部竞聘笔试题含答案
- 2025数据中心机房建设方案
- 2025年浙江社区《网格员》模拟训练题(含答案)
- 腰椎间盘突出中医课件
- 2025年小学语文教师新课程标准考试题目(含答案)
- GB/T 45844-2025智慧城市基础设施开发和运营通用框架
评论
0/150
提交评论