Cloud Computing and its Technologies and Applications. Ming-Syan Chen 陳銘憲 Director Research Center for Information Technology Innovation Academia Sinica March 19, 2010. Received talk request… What to talk?. In an hour. Be relevant. Outline. Introduction to Cloud Computing
01 / 56Cloud Computing and its Technologies and Applications
1 / 17
Télécharger la présentation
Cloud Computing and its Technologies and Applications
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation
Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement.Téléchargez la présentation en cliquant sur ce lien.Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.
Platform as a Service M.-S. Chen • 主要提供API給用戶開發雲端版本的應用,以提供服務, 例如: • Google AppEngine • 讓您在 Google 的基礎結構上執行您的網路應用程式 • Facebook f8 platform • facebook系統提出API,主要讓第三方廠商使用facebook的SNS平台,節省開發成本集中在創意的應用程式開發
Platform as a Service (cont’d) M.-S. Chen • Microsoft Azure • 新一代的微軟雲端運算平台,其包含Azure,SQLAzure和AppFabric • IBMPangoo Platform(盤古雲端服務平臺) • 架在WAS、DB2與Tivoli等IBM產品上的平台即服務(PaaS)雲端架構 • Amazon Web Services • AWS is PaaS, EC2 is IaaS
Infrastructure as a Service M.-S. Chen • 以Amazon 的EC2(Elastic Compute Cloud) 最為著名 • Pay as you go, 按執行的時間與數量有其計價模式 • 將資訊基礎設施透過虛擬化的平台整合的服務,用戶不需要採購伺服器、租用實際空間或網路,透過委外租用IaaS的方式取得所需要的資源
Amazon Business Model M.-S. Chen • EC2On-Demand Instances • 不同的CPU計算能力與記憶體需求有不同的收費 • Default is 1.7 GB of memory, 1 EC2 Compute Unit 160 GB of local instance storage, 32-bit platform
Outline • Introduction to Cloud Computing • Taiwan’s opportunity • Cloud applications • Technology issues • Work in NetDB • Conclusion M.-S. Chen
軟體即服務供應平台技術 • 依據用戶之付費方案,提供租用軟體之運算資源配置,與服務品質管理 • 提供租用軟體之線上訂閱、認證、 、授權、使用紀錄/清算/計費等功能 Call Center Support System Enterprise A Enterprise B Enterprise C Enterprise D On-demand Application On-demand Application On-demand Application On-demand Application Multi-tenancy Service Delivery Platform Runtime Access Control Order Management Management Agent Metering Security Log Management Log Usage Tracking Identity Management SLA Monitoring CRM Availability Management Alerts Security Billing Performance M.-S. Chen 圖來源:Forrester Research 圖來源:Microsoft Provisioning
虛擬桌機與網路桌面技術 • 終端軟體與資料可全部移往雲端資料中心實體/虛擬主機執行,透過串流(streaming)技術與豐富型網頁(RIA,Rich Internet Application)技術,以平價簡易終端,就可提供使用者目前相同於或超越於個人電腦桌面的使用體驗 Virtual Desktop Web Desktop (Webtop) http://g.ho.st M.-S. Chen
Outline • Introduction to Cloud Computing • Taiwan’s opportunity • Cloud applications • Technology issues • Work in NetDB • Conclusion M.-S. Chen
Cloud Computing Related Work in NetDB • Content search • 2D bar code, watch (with CR Kung and H. Chi) • Social network enhanced search/queries • Mining for SaaS activities • 團購 (with YH Hung) • Sequential pattern mining on Cloud (with JW Huang) M.-S. Chen
t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 … S01 S02 S03 S04 S05 S06 Db1,5 Db2,6 Db3,7 Db4,8 Db5,9 Db6,10 A C BD B C AD B AD B A C A A BC B C D D C A BC D D B A C D A C SID time POI=5, min_supp=0.5 M.-S. Chen 26
Motivation for Mining on Cloud M.-S. Chen With the increasing amount of data, single processors struggle to scale up. Mining progressive sequential patterns intrinsically suffers from the scalability problem. When the number of sequences grows and the POI becomes larger, the time and space used to conduct progressive sequential patterns will increase dramatically. 27
Distributed Algorithms in Hadoop Platform M.-S. Chen Hadoop is an open source project aiming at building a cloud infrastructure running on large clusters for a huge amount of data. Hadoop platform implements Map/Reduce paradigm. Easy to scale up (adding more machines into the clusters) in Hadoop platform. Distributed algorithms devised lead to performance improvement on sequential pattern mining (PAKDD 2010) 28
工研院成立雲端運算中心 研發「貨櫃式電腦(Container Computer)」及「雲端作業系統(Cloud OS)」,扶植台灣業者推出「整廠輸出」形式的雲端資料中心產品,進軍全球雲端運算市場。 Server 分工說明 Cloud Data Center Cloud OS Container Computer 業者 Storage Cloud Data Center 工研院 Network M.-S. Chen 外商
Conclusion • Elastic IT 時代就要來臨 • Cloud computing will become prevalent in light of the following • Drop of hardware cost • Improvement of network/hardware speed • Increase of storage (disk/memory) size • Demand for ubiquitous applications • Explosion of information and data (data mining) M.-S. Chen
Amazon EC2(Elastic Compute Cloud) • Create an Amazon Machine Image (AMI) containing your applications, libraries, data and associated configuration settings. Or use our pre-configured, templated images to get up and running immediately. • Upload the AMI into Amazon S3. Amazon EC2 provides tools that make storing the AMI simple. Amazon S3 provides a safe, reliable and fast repository to store your images. • Use Amazon EC2 web service to configure security and network access. • Choose the type(s) of instance you want to run. • Start, terminate, and monitor as many instances of your AMI as needed, using the web service APIs. • Pay for the instance-hours and bandwidth that you actually consume. M.-S. Chen
Amazon EC2(Elastic Compute Cloud) • Instances (per instance-hour )$0.10 - Small Instance (Default) 1.7 GB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of instance storage, 32-bit platform $0.40 - Large Instance 7.5 GB of memory, 4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units each), 850 GB of instance storage, 64-bit platform $0.80 - Extra Large Instance 15 GB of memory, 8 EC2 Compute Units (4 virtual cores with 2 EC2 Compute Units each), 1690 GB of instance storage, 64-bit platform • Data Transfer $0.10 per GB - all data transfer in $0.18 per GB - first 10 TB / month data transfer out$0.16 per GB - next 40 TB / month data transfer out$0.13 per GB - data transfer out / month over 50 TB M.-S. Chen
Cloud Computing Related Work in NetDB (cont’d) M.-S. Chen • Infrastructure as a Service (IaaS) • 現階段透過Eucalyptus架設使用者可執行並控制virtual machine instances的環境, 可直接相容於EC2/S3的API工具. • 暫時架設100左右的機器, 未來可能持續增加
Mining on Cloud: Sequential Pattern Mining Period of Interest (abbreviated as POI) is a sliding window whose length is a user-specified time interval, continuously advancing as the time goes by. The sequences having elements whose timestamps fall into this period, POI, contribute to the |Db| for current sequential patterns. M.-S. Chen 39
t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 … S01 S02 S03 S04 S05 S06 Db1,5 Db2,6 Db3,7 Db4,8 Db5,9 Db6,10 A C BD B C AD B AD B A C A A BC B C D D C A BC D D B A C D A C SID time POI=5, min_supp=0.5 M.-S. Chen 40
Motivation for Mining on Cloud M.-S. Chen With the increasing amount of data, single processors struggle to scale up. Mining progressive sequential patterns intrinsically suffers from the scalability problem. When the number of sequences grows and the POI becomes larger, the time and space used to conduct progressive sequential patterns will increase dramatically. 41
Distributed Mining Algorithm on Cloud M.-S. Chen We design a distributed mining algorithm on the cloud to address the scalability problem. Distributed Progressive Sequential Pattern mining algorithm is implemented on top of Hadoop platform, which realizes the cloud computing environment. 42
Hadoop Platform M.-S. Chen Hadoop is an open source project aiming at building a cloud infrastructure running on large clusters to deal with a huge amount of data. Hadoop platform implements Google’s Map/Reduce paradigm. It is extremely easy to scale up (adding more machines into the clusters) in Hadoop platform. 43
Map/Reduce Paradigm M.-S. Chen By means of the map function, the application can be divided into several fractions. Each fraction is assigned to a single node in large clusters and executed by the node. After the execution, the reduce function merges these partial results to form the final output. 44
Cloud Computing Environment M.-S. Chen • The cloud computing environment allows developers to focus on designing distributed algorithms, and offers great scalability • Routine issues can be inherently handled by the cloud computing framework. • E.g., data allocation, job scheduling, load balancing, failure recovery • Lead to performance improvement on sequential pattern mining (PAKDD 2010) 45
Designs of DPSP M.-S. Chen • We propose two Map/Reduce jobs in DPSP. • CandidateComputingJob • computes current candidate sequential patterns • deletes obsolete itemsets • update the summary of each sequence • SupportAssemblingJob • accumulates the occurrence frequencies of candidate sequential patterns • report up-to-date frequent sequential patterns within each POI. 46
Algorithm DPSP M.-S. Chen Input: itemsets of all sequences arriving at the current timestamp 1. while (there is new data arriving at timestamp t ){ 2. CandidateComputingJob ; 3. SupportAssemblingJob ; 4. t = t + 1 ; 5. output frequent sequential patterns; 6. }end while output: frequent sequential patterns at each POI with their supports 47
input data at time t summaries at time t-1 CCMapper CCMapper CCMapper CCReducer CCReducer CCReducer <candidate itemset, null> summaries at time t Start DPSP Candidate Calculating Job many <SeqNo, itemset> or <SeqNo, itemset + timestamp> pairs M.-S. Chen 48
Example of CCJ t2 t3 t4 t5 t6 t7 t8 t9 t10 … t1 S01 A C BD B C AD B S02 AD B A C S03 A A BC B C D S04 D C A BC D S05 D B A C D S06 A C time Db1,5 Db2,6 Db3,7 Db4,8 Db5,9 Db6,10 S01 A B C AD B C BD … t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 time M.-S. Chen 49
S01 A B C AD B C BD … t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 time M.-S. Chen 50
Connexion au compte
Connectez-vous pour publier votre contenu sur SlideServe.