版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
AdvancedOperatingDistributedSystemsConceptsandQingDepartmentofComputerScience,RenminUniversity1ChapterCharacterizationofDistributed 2DistributedSystems–ConceptsandDesign,GeorgeCouloris, Dollimore,andTimKindberg(2,3,4,5版Thelectureisbasedonthis31.1简介1.2分布式系统实例(Distributed1.31.4 1.61.7资源共享和web(ResourceSharingand 1.94ChallengesofDistributedWhenconstructingadistributedsystemthedesignerencouterschallengesthatarespecifictodistributedsystems.Thesizeofeachchallengedependsontherequirementsofthespecificsystem.Thosechallengescanbeassignedtoseveral (异构性 (开放性 (安全性 (可伸缩性 Failure (并发性 (透明性5Networks:Ethernet(以太网),WLAN(无线局域网),GSM(数字通),UMTS(?军事训练),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(),发布的。 sforCORBA(8Opendistributedsystemsarebaseduponauniformcommunicationmechanism(一致的通信机制).OpendistributedsystemsareindependentfromindividualvendorsTheconformanceofacomponenttothepublishedstandardmustbetestedandverified.9ItismoredifficulttoachievesecurityinadistributedsystemthaninacentralizedsystemduetothevulnerabilityofComponentsof 性:Protectionagainst )tounauthorizedindividualsorapplications防 Integrity完整性:Protectionagainstal tionorAvailability可用性Protectionagainstinterferencewiththemeanstoaccesstheresources Authentication鉴定:Reliableandcorrectidentificationofaremoteuseroranotheragent. ImportantpresentsecurityDenialofservice :Disruptionofaservicebyanotheruser.codeThiscodemayinclude 伊 心 就而言,JP一直。但在今年10月,JP了第二次,此次涉及万家庭和户的、地址、、 市场研究机构IDC,如今开源软件的触角几乎已名为心脏(Heartbleed)和S 。 举例来说,心脏 和号等隐私信息在内的敏感其中已被确认受影响的包括Imgur等。同时,在这一遭到披露后,有不少科技企业均表示自己会在今后 医生如何提 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淘宝“双 年月日,注定会被载入互联网的历史2011年双十一支付宝额52亿元。年支付宝额亿元,而今年则达到额的。 双11当日网 自 年月日,淘宝商城(现名天猫)拉开网购狂欢节 此时 如何设 成为众 自 年月日,淘宝商城(现名天猫)拉开网购狂欢 此时 如何设 成为众 双11这样的大型促销活动带来的是流量暴涨,在高 瞬 此时,如何设 解决这一问题的 做,小系统大做。浓缩一下就是三个字:快、稳、炫。32Failuresinadistributedsystemarepartial–notallcomponentsfail.ThefunctioningsystemcanstillbeThehandlingoffailuresisparticularlyDetectionofacorrupteddatatransmissionbyachecksum出错数据传输的诊断Alocalizationofafaultynetworkcomponentmaybedifficult.错误网络组件的定位Challenge:FailureMaskingfailures:HidingafailurefromauseroranapplicationAutomaticretransmissionofmissingUseofRAIDtostoreThosemethodsdonotworkina(rare)worstChallenge:FailureHandlingToleratingfailures容错:The doesnotfailiftherearefailuresthatcannotbedetectedorhidden.Afterseveralunsuccessfulretransmissionattemptsthesystemgivesupandinformsthe.The continueswithotherworkandretriesthetransmissionlater.Recoveryfromfailures故障恢复Afailuredoesnotcausepermanentdamage.Afteraremoteinvocationhasbeenstoppedbyaservercrashtheoriginalstatebeforetheinvocationisrestored.Afaultycomponentisintegratedintothesystemafteritsrepair.Challenge:FailureRedundancy冗余Failurehidingcanoftenbeachievedbyuseofredundantcomponents.Differentroutesbetweentworoutersinthe Availability:TheproportionoftimeasystemisavailableforResourcesaresharedby sinadistributedAsharedresourcemaybeaccessedatthesametimebymorethanone Handlingall requestssequentiallylimitsthethroughputoftheserver.处理用户需求序列方法限制了吞吐量。Manyservicessupportconcurrentprocessingof ConcurrentrequestsmustnotinterferewitheachServicesandobjectsmustbesafeinaconcurrent中秋来了,来了,12306也来了。一个想回级12306,新增的车票预约和排队出票功能都17号晚上:接到决定回 年月日,11:0
的成功率。我觉得,我Transparencyistheconcealment(隐藏)fromtheuserandtheapplicationprogrammeroftheseparationofcomponentsinadistributedsystem.Thesystemisperceivedasasingle
Accesstransparency:LocalandremoteresourcesareaccessedbyusingidenticalmethodsFileaccessinadistributedfilesystemwithoutrequiringexplicitmethodslikeftp.Locationtransparency(位置的透明性)Resourcescanbeaccessedwithoutknowledgeoftheirlocations. Ausermaywanttoaddressaresourceataspecificlocation,likeaprinter:Locationawarecomputing.ThelocationofaresourcemustbeavailableonAccessandlocationtransparencytogetherarealsocallednetworktransparency.Challenge:TransparencyConcurrencytransparency(并发透明性):Severalprocessescanoperateconcurrentlyonsharedresourceswithoutinterferenceamongthem。seetheconcurrencyThesystemneedstopreventundesired(不希望的)concurrentactivities.TwouserscannotmodifythesamefileUseoflocksorChallenge:Replicationtransparency( 透明性):MultipleinstancesofresourcescanbeusedtoincreasereliabilityandperformancewithoutknowledgeofthereplicasbyusersorapplicationReplicasoffileserversinsomedistributedfileFailuretransparency(故障透明性)Faultsspecifictodistributedsystemsareconcealedfromusersandapplicationprograms分seethefailurehandlingChallenge:TransparencyMobility(migration)transparency(移动透明性):Resourcesand scanmoveinthesystemwithoutaffectingtheoperationofusersorprograms.Namesdonotchangewhenresourcesare Performancetransparency(性能透明性):Thesystemcanbereconfiguredtoimproveperformancewithoutrequiringuseractivity.Theloadofthesystemisbalancedbyautomaticallymovingsomeservices.Challenge:Scalingtransparency(伸缩透明性):Thesystemandthescaleofitsapplicationscangrowwithoutrequiringachangeinthesystemstructureortheapplicationalgorithms,seethescalabilitychallenge.
绿色农业工 公共安全城市管 医疗智能家居智能交通环境监
物 理中
3G
4G
传感
ZTE
ZTEITS智能交通物联网平台信息服务层
信息 互联网信服务 息服务
广播信息 动态导航服务 服务
……企业信息服务网络接入
应用层
数据融合、处 信息发 数 和调用软件支撑环 地理信息系 数据
操作系 JAVA语言运营商支撑系统
硬件支撑环境城市交通数据中心公路交通数据中心公共交通数据中心数据中心铁路数据中心数据中心城市交通数据中心公路交通数据中心公共交通数据中心数据中心铁路数据中心数据中心水路数据中心
网络传输设备 设备数据接口协议
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分布式系统实例(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. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024饮料食品类公司经销合同书
- 盐城师范学院《心理统计学》2021-2022学年第一学期期末试卷
- 2023年北京市石景山初三二模语文试卷及答案
- 2024劳务清包合同范本
- 2024年分步重复光刻机合作协议书
- 运河经济开发区活性炭再生环评报告表
- 年产270吨锂电化学品和50吨电子化学品技改项目环评报告表
- 保育育肥饲养标准化验收理论考试复习试题及答案
- 盐城师范学院《居住区景观设计》2022-2023学年第一学期期末试卷
- 2025新课改-高中物理-必修第3册(20讲)09 C电源、电流和电阻 提升版含答案
- 诚实课件教学课件
- 广东省深圳市龙岗区多校2024-2025学年一年级(上)期中语文试卷(含答案部分解析)
- 2024-2025学年度第一学期期中学业质量监测
- 2024至2030年中国轻质墙板数据监测研究报告
- 河南省南阳市2023-2024学年高一上学期期中数学试题含答案
- 统编语文四年级上册第六单元教材解读及集体备课
- 2024年河南省军队文职(临床医学)高频备考核心试题库(含答案详解)
- 乡村振兴课件教学课件
- 2023年国家公务员录用考试《行测》副省级卷-解析
- 2024年银行考试-招商银行考试近5年真题附答案
- 人教版三年级上册《生命-生态-安全》全册教案(及计划)
评论
0/150
提交评论