版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
CloudComputingLecture#1
WhatisCloudComputing?
(andanintrotoparallel/distributedprocessing)JimmyLinTheiSchoolUniversityofMarylandWednesday,September3,2008ThisworkislicensedunderaCreativeCommonsAttribution-Noncommercial-ShareAlike3.0UnitedStates
See/licenses/by-nc-sa/3.0/us/fordetailsSomematerialadaptedfromslidesbyChristopheBisciglia,AaronKimball,&SierraMichels-Slettvet,GoogleDistributedComputingSeminar,2007(licensedunderCreationCommonsAttribution3.0License)1Source:/WhatisCloudComputing?Web-scaleproblemsLargedatacentersDifferentmodelsofcomputingHighly-interactiveWebapplications1.Web-ScaleProblemsCharacteristics:Definitelydata-intensiveMayalsobeprocessingintensiveExamples:Crawling,indexing,searching,miningtheWeb“Post-genomics”lifesciencesresearchOtherscientificdata(physics,astronomers,etc.)SensornetworksWeb2.0applications…Howmuchdata?WaybackMachinehas2PB+20TB/month(2006)Googleprocesses20PBaday(2008)“allwordseverspokenbyhumanbeings”~5EBNOAAhas~1PBclimatedata(2007)CERN’sLHCwillgenerate15PBayear(2008)640K
oughttobeenoughforanybody.MaximilienBrice,?CERNMaximilienBrice,?CERNThere’snothinglikemoredata!s/inspiration/data/g;(BankoandBrill,ACL2001)(Brantsetal.,EMNLP2007)Whattodowithmoredata?AnsweringfactoidquestionsPatternmatchingontheWebWorksamazinglywellLearningrelationsStartwithseedinstancesSearchforpatternsontheWebUsingpatternstofindmoreinstancesWhoshotAbrahamLincoln?
X
shotAbrahamLincolnBirthday-of(Mozart,1756)Birthday-of(Einstein,1879)WolfgangAmadeusMozart(1756-1791)Einsteinwasbornin1879PERSON(DATE–PERSONwasborninDATE(Brilletal.,TREC2001;Lin,ACMTOIS2007)(AgichteinandGravano,DL2000;RavichandranandHovy,ACL2002;…)2.LargeDataCentersWeb-scaleproblems?Throwmoremachinesatit!Cleartrend:centralizationofcomputingresourcesinlargedatacentersNecessaryingredients:fiber,juice,andspaceWhatdoOregon,Iceland,andabandonedmineshaveincommon?ImportantIssues:RedundancyEfficiencyUtilizationManagementSource:Harper’s(Feb,2008)MaximilienBrice,?CERNKeyTechnology:VirtualizationHardwareOperatingSystemAppAppAppTraditionalStackHardwareOSAppAppAppHypervisorOSOSVirtualizedStack3.DifferentComputingModelsUtilitycomputingWhybuymachineswhenyoucanrentcycles?Examples:Amazon’sEC2,GoGrid,AppNexusPlatformasaService(PaaS)GivemeniceAPIandtakecareoftheimplementationExample:GoogleAppEngineSoftwareasaService(SaaS)Justrunitforme!Example:Gmail“Whydoityourselfifyoucanpaysomeonetodoitforyou?”4.WebApplicationsAmistakeontopofahackbuiltonsandheldtogetherbyducttape?Whatisthenatureofsoftwareapplications?FromthedesktoptothebrowserSaaS==Web-basedapplicationsExamples:GoogleMaps,FacebookHowdowedeliverhighly-interactiveWeb-basedapplications?AJAX(asynchronousJavaScriptandXML)Forbetter,orforworse…Whatisthecourseabout?MapReduce:the“back-end”ofcloudcomputingBatch-orientedprocessingoflargedatasetsAjax:the“front-end”ofcloudcomputingHighly-interactiveWeb-basedapplicationsComputing“intheclouds”Amazon’sEC2/S3asanexampleofutilitycomputingAmazonWebServicesElasticComputeCloud(EC2)RentcomputingresourcesbythehourBasicunitofaccounting=instance-hourAdditionalcostsforbandwidthSimpleStorageService(S3)PersistentstorageChargebytheGB/monthAdditionalcostsforbandwidthYou’llbeusingEC2/S3forcourseassignments!Thiscourseisnotforyou…Ifyou’renotgenuinelyinterestedinthetopicIfyou’renotreadytodoalotofprogrammingIfyou’renotopentothinkingaboutcomputinginnewwaysIfyoucan’tcopewithuncertainly,unpredictability,poordocumentation,andimmaturesoftwareIfyoucan’tputinthetimeOtherwise,thiswillbearichlyrewardingcourse!Source:/2007/05/page/2/CloudComputingZenDon’tgetfrustrated(takeadeepbreath)…ThisisbleedingedgetechnologyThoseW$*#T@F!momentsBepatient…ThisisthesecondfirsttimeI’vetaughtthiscourseBeflexible…TherewillbeunanticipatedissuesalongthewayBeconstructive…TellmehowIcanmakeeveryone’sexperiencebetterSource:WikipediaSource:WikipediaSource:WikipediaSource:WikipediaThingstogoover…CoursescheduleAssignmentsanddeliverablesAmazonEC2/S3Web-ScaleProblems?Don’tholdyourbreath:BiocomputingNanocomputingQuantumcomputing…Itallboilsdownto…Divide-and-conquerThrowingmorehardwareattheproblemSimpletounderstand…alifetimetomaster…DivideandConquer“Work”w1w2w3r1r2r3“Result”“worker”“worker”“worker”PartitionCombineDifferentWorkersDifferentthreadsinthesamecoreDifferentcoresinthesameCPUDifferentCPUsinamulti-processorsystemDifferentmachinesinadistributedsystemChoices,Choices,ChoicesCommodityvs.“exotic”hardwareNumberofmachinesvs.processorvs.coresBandwidthofmemoryvs.diskvs.networkDifferentprogrammingmodelsFlynn’sTaxonomyInstructionsSingle(SI)Multiple(MI)DataMultiple(MD)SISDSingle-threadedprocessMISDPipelinearchitectureSIMDVectorProcessingMIMDMulti-threadedProgrammingSingle(SD)SISDDDDDDDDProcessorInstructionsSIMDD0ProcessorInstructionsD0D0D0D0D0D1D2D3D4…DnD1D2D3D4…DnD1D2D3D4…DnD1D2D3D4…DnD1D2D3D4…DnD1D2D3D4…DnD1D2D3D4…DnD0MIMDDDDDDDDProcessorInstructionsDDDDDDDProcessorInstructionsMemoryTypology:SharedMemoryProcessorProcessorProcessorProcessorMemoryTypology:DistributedMemoryProcessorMemoryProcessorMemoryProcessorMemoryProcessorNetworkMemoryTypology:HybridMemoryProcessorNetworkProcessorMemoryProcessorProcessorMemoryProcessorProcessorMemoryProcessorProcessorParallelizationProblemsHowdoweassignworkunitstoworkers?Whatifwehavemoreworkunitsthanworkers?Whatifworkersneedtosharepartialresults?Howdoweaggregatepartialresults?Howdoweknowalltheworkershavefinished?Whatifworkersdie?Whatisthecommonthemeofalloftheseproblems?GeneralTheme?Parallelizationproblemsarisefrom:CommunicationbetweenworkersAccesstosharedresources(e.g.,data)Thus,weneedasynchronizationsystem!Thisistricky:FindingbugsishardSolvingbugsisevenharderManagingMultipleWorkersDifficultbecause(Often)don’tknowtheorderinwhichworkersrun(Often)don’tknowwheretheworkersarerunning(Often)don’tknowwhenworkersinterrupteachotherThus,weneed:Semaphores(lock,unlock)Conditio
溫馨提示
- 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)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025版宿舍樓智能監(jiān)控設(shè)施承包合同3篇
- 2025年度木材貿(mào)易與木工加工合作合同4篇
- 夏令營2025非傳統(tǒng)教育項目合作合同3篇
- 2025年度木材加工廠設(shè)備租賃合同范本7篇
- 《漢服唯美古詩句》課件
- 2025版實習(xí)員工實習(xí)期間住宿安排合同3篇
- 養(yǎng)生保健與中醫(yī)養(yǎng)生藥物考核試卷
- 合成革表面處理與涂飾技術(shù)考核試卷
- 2025版智能電網(wǎng)信息安全防護合同4篇
- 創(chuàng)業(yè)空間科技創(chuàng)新平臺考核試卷
- 《天潤乳業(yè)營運能力及風(fēng)險管理問題及完善對策(7900字論文)》
- 醫(yī)院醫(yī)學(xué)倫理委員會章程
- xx單位政務(wù)云商用密碼應(yīng)用方案V2.0
- 農(nóng)民專業(yè)合作社財務(wù)報表(三張報表)
- 動土作業(yè)專項安全培訓(xùn)考試試題(帶答案)
- 大學(xué)生就業(yè)指導(dǎo)(高職就業(yè)指導(dǎo)課程 )全套教學(xué)課件
- 死亡病例討論總結(jié)分析
- 第二章 會展的產(chǎn)生與發(fā)展
- 空域規(guī)劃與管理V2.0
- JGT266-2011 泡沫混凝土標(biāo)準(zhǔn)規(guī)范
- 商戶用電申請表
評論
0/150
提交評論