chapter1引言ados信息學(xué)院計(jì)算機(jī)系_第1頁
chapter1引言ados信息學(xué)院計(jì)算機(jī)系_第2頁
chapter1引言ados信息學(xué)院計(jì)算機(jī)系_第3頁
chapter1引言ados信息學(xué)院計(jì)算機(jī)系_第4頁
chapter1引言ados信息學(xué)院計(jì)算機(jī)系_第5頁
已閱讀5頁,還剩88頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

AdvancedOperatingDistributedSystemsConceptsandQingDepartmentofComputerScience,RenminUniversity1ChapterCharacterizationofDistributed 2DistributedSystems–ConceptsandDesign,GeorgeCouloris, Dollimore,andTimKindberg(2,3,4,5版Thelectureisbasedonthis31.1簡介1.2分布式系統(tǒng)實(shí)例(Distributed1.31.4 1.61.7資源共享和web(ResourceSharingand 1.94ChallengesofDistributedWhenconstructingadistributedsystemthedesignerencouterschallengesthatarespecifictodistributedsystems.Thesizeofeachchallengedependsontherequirementsofthespecificsystem.Thosechallengescanbeassignedtoseveral (異構(gòu)性 (開放性 (安全性 (可伸縮性 Failure (并發(fā)性 (透明性5Networks:Ethernet(以太網(wǎng)),WLAN(無線局域網(wǎng)),GSM(數(shù)字通),UMTS(?軍事訓(xùn)練),ATM,…Datatypes:integertypes,floatingpointtypes,…Computerhardware:Processor,printer,storage,…Operatingsystems:varioustypesofWindowsandUNIX,…Programminglanguages:C++,Java,Application6Commoninterfacesareneeded:TCP/IPfortheInternet,Middleware中間件Asoftwarelayerthatseparatestheapplicationfromthesystemsoftwareandhardware Itprovidesa codecanbesentfromonecomputertoanotherandrunatthedestination:Javabytecode7Inanopensystemnewservicescanbeaddedorexistingservicescanbere-implemented.Keysoftwareinterfacesofthecomponentsofanopensystemmustbestandardizedoratleastpublished.(RequestForComments征求(RFC)forInternetprotocols(),發(fā)布的。 sforCORBA(8Opendistributedsystemsarebaseduponauniformcommunicationmechanism(一致的通信機(jī)制).OpendistributedsystemsareindependentfromindividualvendorsTheconformanceofacomponenttothepublishedstandardmustbetestedandverified.9ItismoredifficulttoachievesecurityinadistributedsystemthaninacentralizedsystemduetothevulnerabilityofComponentsof 性:Protectionagainst )tounauthorizedindividualsorapplications防 Integrity完整性:Protectionagainstal tionorAvailability可用性Protectionagainstinterferencewiththemeanstoaccesstheresources Authentication鑒定:Reliableandcorrectidentificationofaremoteuseroranotheragent. ImportantpresentsecurityDenialofservice :Disruptionofaservicebyanotheruser.codeThiscodemayinclude 伊 心 就而言,JP一直。但在今年10月,JP了第二次,此次涉及萬家庭和戶的、地址、、 市場研究機(jī)構(gòu)IDC,如今開源軟件的觸角幾乎已名為心臟(Heartbleed)和S 。 舉例來說,心臟 和號等隱私信息在內(nèi)的敏感其中已被確認(rèn)受影響的包括Imgur等。同時,在這一遭到披露后,有不少科技企業(yè)均表示自己會在今后 醫(yī)生如何提 ChallengeScalability(可伸縮性Asystemisscalableifitremainsefficientalthoughthereissignificantincreaseinthenumberofresourcesandthenumberofusers.ChallengestoControllingthecostofphysicalThecostforaddingnusersshouldbeatmostChallengeScalability(可伸縮性ControllingtheperformancelossThecomputationalcomplexityofmethodstomanagenusersshouldbeO(logn).PreventingsoftwareresourcesfromrunningIPV4limitsthenumberofaddressestoConversiontoIPV6isrequiredtomaintainAlgorithmsinascalablesystemsshouldbeComputersinthe 1979,01989,01999,2003,Figure (第四版)FigureGrowthoftheInternet(computersandwebWeb1993,1995,1997,61999,2001,2003,2005,Instructor’sGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.?PearsonEducation淘寶“雙 年月日,注定會被載入互聯(lián)網(wǎng)的歷史2011年雙十一支付寶額52億元。年支付寶額億元,而今年則達(dá)到額的。 雙11當(dāng)日網(wǎng) 自 年月日,淘寶商城(現(xiàn)名天貓)拉開網(wǎng)購狂歡節(jié) 此時 如何設(shè) 成為眾 自 年月日,淘寶商城(現(xiàn)名天貓)拉開網(wǎng)購狂歡 此時 如何設(shè) 成為眾 雙11這樣的大型促銷活動帶來的是流量暴漲,在高 瞬 此時,如何設(shè) 解決這一問題的 做,小系統(tǒng)大做。濃縮一下就是三個字:快、穩(wěn)、炫。32Failuresinadistributedsystemarepartial–notallcomponentsfail.ThefunctioningsystemcanstillbeThehandlingoffailuresisparticularlyDetectionofacorrupteddatatransmissionbyachecksum出錯數(shù)據(jù)傳輸?shù)脑\斷Alocalizationofafaultynetworkcomponentmaybedifficult.錯誤網(wǎng)絡(luò)組件的定位Challenge:FailureMaskingfailures:HidingafailurefromauseroranapplicationAutomaticretransmissionofmissingUseofRAIDtostoreThosemethodsdonotworkina(rare)worstChallenge:FailureHandlingToleratingfailures容錯:The doesnotfailiftherearefailuresthatcannotbedetectedorhidden.Afterseveralunsuccessfulretransmissionattemptsthesystemgivesupandinformsthe.The continueswithotherworkandretriesthetransmissionlater.Recoveryfromfailures故障恢復(fù)Afailuredoesnotcausepermanentdamage.Afteraremoteinvocationhasbeenstoppedbyaservercrashtheoriginalstatebeforetheinvocationisrestored.Afaultycomponentisintegratedintothesystemafteritsrepair.Challenge:FailureRedundancy冗余Failurehidingcanoftenbeachievedbyuseofredundantcomponents.Differentroutesbetweentworoutersinthe Availability:TheproportionoftimeasystemisavailableforResourcesaresharedby sinadistributedAsharedresourcemaybeaccessedatthesametimebymorethanone Handlingall requestssequentiallylimitsthethroughputoftheserver.處理用戶需求序列方法限制了吞吐量。Manyservicessupportconcurrentprocessingof ConcurrentrequestsmustnotinterferewitheachServicesandobjectsmustbesafeinaconcurrent中秋來了,來了,12306也來了。一個想回級12306,新增的車票預(yù)約和排隊(duì)出票功能都17號晚上:接到?jīng)Q定回 年月日,11:0

的成功率。我覺得,我Transparencyistheconcealment(隱藏)fromtheuserandtheapplicationprogrammeroftheseparationofcomponentsinadistributedsystem.Thesystemisperceivedasasingle

Accesstransparency:LocalandremoteresourcesareaccessedbyusingidenticalmethodsFileaccessinadistributedfilesystemwithoutrequiringexplicitmethodslikeftp.Locationtransparency(位置的透明性)Resourcescanbeaccessedwithoutknowledgeoftheirlocations. Ausermaywanttoaddressaresourceataspecificlocation,likeaprinter:Locationawarecomputing.ThelocationofaresourcemustbeavailableonAccessandlocationtransparencytogetherarealsocallednetworktransparency.Challenge:TransparencyConcurrencytransparency(并發(fā)透明性):Severalprocessescanoperateconcurrentlyonsharedresourceswithoutinterferenceamongthem。seetheconcurrencyThesystemneedstopreventundesired(不希望的)concurrentactivities.TwouserscannotmodifythesamefileUseoflocksorChallenge:Replicationtransparency( 透明性):MultipleinstancesofresourcescanbeusedtoincreasereliabilityandperformancewithoutknowledgeofthereplicasbyusersorapplicationReplicasoffileserversinsomedistributedfileFailuretransparency(故障透明性)Faultsspecifictodistributedsystemsareconcealedfromusersandapplicationprograms分seethefailurehandlingChallenge:TransparencyMobility(migration)transparency(移動透明性):Resourcesand scanmoveinthesystemwithoutaffectingtheoperationofusersorprograms.Namesdonotchangewhenresourcesare Performancetransparency(性能透明性):Thesystemcanbereconfiguredtoimproveperformancewithoutrequiringuseractivity.Theloadofthesystemisbalancedbyautomaticallymovingsomeservices.Challenge:Scalingtransparency(伸縮透明性):Thesystemandthescaleofitsapplicationscangrowwithoutrequiringachangeinthesystemstructureortheapplicationalgorithms,seethescalabilitychallenge.

綠色農(nóng)業(yè)工 公共安全城市管 醫(yī)療智能家居智能交通環(huán)境監(jiān)

物 理中

3G

4G

傳感

ZTE

ZTEITS智能交通物聯(lián)網(wǎng)平臺信息服務(wù)層

信息 互聯(lián)網(wǎng)信服務(wù) 息服務(wù)

廣播信息 動態(tài)導(dǎo)航服務(wù) 服務(wù)

……企業(yè)信息服務(wù)網(wǎng)絡(luò)接入

應(yīng)用層

數(shù)據(jù)融合、處 信息發(fā) 數(shù) 和調(diào)用軟件支撐環(huán) 地理信息系 數(shù)據(jù)

操作系 JAVA語言運(yùn)營商支撐系統(tǒng)

硬件支撐環(huán)境城市交通數(shù)據(jù)中心公路交通數(shù)據(jù)中心公共交通數(shù)據(jù)中心數(shù)據(jù)中心鐵路數(shù)據(jù)中心數(shù)據(jù)中心城市交通數(shù)據(jù)中心公路交通數(shù)據(jù)中心公共交通數(shù)據(jù)中心數(shù)據(jù)中心鐵路數(shù)據(jù)中心數(shù)據(jù)中心水路數(shù)據(jù)中心

網(wǎng)絡(luò)傳輸設(shè)備 設(shè)備數(shù)據(jù)接口協(xié)議

Section1.5.7Accesstransparency:enableslocalandremoteresourcestobeaccessedusingidenticalLocationtransparency:enablesresourcestobeaccessedwithoutknowledgeoftheirphysicalornetworklocation(forexample,whichbuildingorIPaddress).Concurrencytransparency:enablesseveralprocessestooperateconcurrentlyusingsharedresourceswithoutinterferencebetweenthem.Replicationtransparency:enablesmultipleinstancesofresourcestobeusedtoincreasereliabilityandperformancewithoutknowledgeofthereplicasbyusersorapplicationprogrammers.Failuretransparency:enablestheconcealmentoffaults,allowingusersandapplicationprogramstocompletetheirtasksdespitethefailureofhardwareorsoftwareMobilitytransparency:allowsthemovementofresourcesandwithoutaffectingtheoperationofusersorprograms.

swithinaPerformancetransparency:allowsthesystemtobereconfiguredtoimprove asloadsvary.Scalingtransparency:allowsthesystemandapplicationstoexpandinscalewithout tothesystemstructureortheapplicationalgorithms.Instructor’sGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.?PearsonEducation1.1簡介1.2分布式系統(tǒng)實(shí)例(Distributed1.31.4 1.61.7資源共享和web(ResourceSharingand 1.9WhohasusedWhowasprogrammedinWhohasprogrammedunderDoyouhavedepartmentalPeopleLoveWebServers:LinuxvsWindowsWhypeoplelikepowerfulandhardto andGettingStartedWithUNIXSectionA:ObjectivesAfterstudyingthislesson,youshouldbeableDefineoperatingsystemsinDescribeLinuxasitrelatesto inthefunctionofUNIX DescribetheoptionsforconnectingtoaUNIXGettingStartedWithUNIXSectionA:ObjectivesAfterstudyingthislesson,youshouldbeableUsethedate,who,man,etc.EntermultiplecommandsonasinglecommandRecallacommandfromthecommandLogontoandlogoutofUnderstandingOperatingAnoperatingsystem(OS)isthemostimportantprogramthatrunsonacomputerOperatingsystemsenableyoutostoreinformation,processrawdata,useapplicationsoftware,compileyourownprograms,andaccessallhardwareattachedtoacomputerOperatingSystemWherecanwefindGameGameNetworkCommonPCOperatingA alcomputer(PC)OSconductsallI/O,processing,andstorageoperationsonastand-alonecomputer.CommonMainframeOperatingAmainframeOScontrolsalargecomputersystemwithmultipleprocessorsforI/O,processing,andstorageoperationsformanyusersRelationshipofServers sonaAnetworkOScontrolstheoperationsofaservercomputer(host),whichacceptsrequestsfromuserprogramsrunningonothercomputers( IntroducingtheUNIXOperatingUNIXisamulti-user,multitaskingoperatingsystemwithbuilt-innetworkinghistoric,butrare(onlyafewPDAsuseSingle-user,multi-SomePCsandworkstationsmaybeconfiguredlikethis.e.g.,Windowsusedonlarge,mainframesandPCs,workstationsandserverstoday.e.g.UNIX,WindowsXP,LinuxIntroducingtheUNIXOperatingUNIXisamulti-usersystem,whichletsmanypeoplesimultaneouslyaccessandsharetheresourcesofaservercomputerAmultitaskingsystemletsoneuserexecutemorethanoneprogramatatimeUNIXisalsoaportableoperatingIntroducingtheUNIXOperatingItsportabilitymeansitcanbeusedinavarietyofcomputingTraditionally,mostoperatingsystemswerewritteninAssembler,foraspecificVERYpainful-ifatallpossible-to`port'theoperatingsystemtootherUNIXismostlywrittenintheClanguage.ThisaloneallowsUNIXtobeportabletomanyarchitectures.UNIXrunsonawidervarietyofcomputersthananyotheroperatingABriefHistoryofAgroupofprogrammersatBellLabsoriginallydevelopedUNIXintheearlyBellLabsdistributedUNIXinitssourcecodeform,soanyonewhousedUNIXcouldcustomizeitasneededEventually,twostandardversionofUNIXAT&TproducedSystemVUniversityofCaliforniaatBerkeleydevelopedBSD(BerkeleySystemDistribution,2BSD,1978)ABriefHistoryofLayersofaUNIX s,ls,cp,Netscape,vi,pine,UNIX DOSand WindowsadoptedoriginalUNIXdesignconcepts,suchastheideaofas --aninterfacebetweentheuserandtheoperatingsystem--andthehierarchicalstructureofdirectoriesandThekernelisthebaseoperatingsystem,whichin ctsdirectlywiththe

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論