DONAR Decentralized Server Selection for Cloud Services B96B02016 生化科技四 張煥基 B97901184 電機三 姜慧如 2011.06.21.

Slides:



Advertisements
Similar presentations
DONAR Decentralized Server Selection for Cloud Services Patrick Wendell, Princeton University Joint work with Joe Wenjie Jiang, Michael J. Freedman, and.
Advertisements

Risk and Asset Allocation CH3 Modeling the market 3.1~ 黃欣裕.
Chapter 10 馬可夫鏈 緒言 如果讀者仔細觀察日常生活中所發生的 諸多事件,必然會發現有些事件的未來 發展或演變與該事件現階段的狀況全然 無關,這種事件稱為獨立試行過程 (process of independent trials) ;而另一些 事件則會受到該事件現階段的狀況影響。
布林代數的應用--- 全及項(最小項)和全或項(最大項)展開式
第七章 抽樣與抽樣分配 蒐集統計資料最常見的方式是抽查。這 牽涉到兩個問題: 抽出的樣本是否具有代表性?是否能反應出母體的特徵?
: A-Sequence 星級 : ★★☆☆☆ 題組: Online-judge.uva.es PROBLEM SET Volume CIX 題號: Problem D : A-Sequence 解題者:薛祖淵 解題日期: 2006 年 2 月 21 日 題意:一開始先輸入一個.
:Word Morphing ★★☆☆☆ 題組: Problem Set Archive with Online Judge 題號: 10508:word morphing 解題者:楊家豪 解題日期: 2006 年 5 月 21 日 題意: 第一行給你兩個正整數, 第一個代表下面會出現幾個字串,
HSR 課程介紹. 指定用書 Health Services Research Method Leiyu Shi 2008.
Event Sampling 事件取樣法. 關心重點為「事件」本身明確的焦點 行為 清楚掌握主題 - 當「事件」出現時才開 始記錄 記錄程序 等待目標事件的發生 開始記錄 事件結束,停止記錄.
What is static?. Static? 靜態 ? class Test { static int staticX; int instanceX; public Test(int var1, int var2) { this.staticX = var1; this.instanceX =
哲學系教師引用文獻分析.  圖資二 張碩真  圖資二 林苡舒  圖資二 呂蔚瑩  圖資二 張育榕  圖資二 阮佩琪  圖資二 黃恩瓊.
指導教授:陳淑媛 學生:李宗叡 李卿輔.  利用下列三種方法 (Edge Detection 、 Local Binary Pattern 、 Structured Local Edge Pattern) 來判斷是否為場景變換,以方便使用者來 找出所要的片段。
自由進入及離開. 定義  長期 ─ 是指生產者能夠改變所有生產因素的情況。  自由進入及離開 ─ 是指公司能夠自由進入及離開市場而不受限 制。
倫理準則:機密性. Confidentiality By: Angela Lo. 倫理準則:機密性. Confidentiality 醫護人員有更多的機會接觸病患的隱私。 隱私包括兩方面︰一是病患的身體,另一 是有關病患的機密的訊息。 醫護人員有更多的機會接觸病患的隱私。 隱私包括兩方面︰一是病患的身體,另一.
Review of Chapter 3 - 已學過的 rules( 回顧 )- 朝陽科技大學 資訊管理系 李麗華 教授.
1 實驗二 : SIP User Mobility 實驗目的 藉由 Registra 和 Redirect Server 的設計,深入瞭解 SIP 的運 作及訊息格式。 實作部分 ( 1 )實作一個 Registrar 來接收 SIP REGISTER ,而且 要將 REGISTER 中 Contact.
貨幣創造與控制 CHAPTER 27 學習本章後,您將能: C H A P T E R C H E C K L I S T 解釋銀行如何藉由放款而創造貨幣 1 解釋中央銀行如何影響貨幣數量 2.
消費者物價指數反映生活成本。當消費者物價指數上升時,一般家庭需要花費更多的金錢才能維持相同的生活水準。經濟學家用物價膨脹(inflation)來描述一般物價持續上升的現象,而物價膨脹率(inflation rate)為物價水準的變動百分比。
STAT0_sampling Random Sampling  母體: Finite population & Infinity population  由一大小為 N 的有限母體中抽出一樣本數為 n 的樣 本,若每一樣本被抽出的機率是一樣的,這樣本稱 為隨機樣本 (random sample)
基本法的修改 基本法第 八 章 -- 第一五九條 本 法 的 修 改 權 屬 於 全 國 人 民 代 表 大 會 。 提 案 權 屬 於 全 國 人 民 代 表 大 會 常 務 委 員 會 , 國 務 院 和 香 港 特 別 行 政 區 須 經 香 港 特 別 行 政 區 的 全 國 人 民 代 表.
第四章 第二節 網路位址轉換器 NAT Network Address Translation. 動機 解決 IP addresses 不夠的問題 IPv6 – 現有的網路設備需要重新設計 – 代價昂貴 Virtual IP Gateway(VIP Gateway) – 架構於目前的 IPv4 上.
JAVA 程式設計與資料結構 第十四章 Linked List. Introduction Linked List 的結構就是將物件排成一列, 有點像是 Array ,但是我們卻無法直接經 由 index 得到其中的物件 在 Linked List 中,每一個點我們稱之為 node ,第一個 node.
Section 2.2 Correlation 相關係數. 散佈圖 1 散佈圖 2 散佈圖的盲點 兩座標軸的刻度不同,散佈圖的外觀呈 現的相聯性強度,會有不同的感受。 散佈圖 2 相聯性看起來比散佈圖 1 來得強。 以統計數字相關係數做為客觀標準。
請問 : 科技融入教學再你的心目中只是一 個不同於其他教學法的選擇 (optional choice) ? 或是一個必要的需要 (demanding needs)?
1 第一章 財務管理概論. 2 財務金融 (Finance) 資金管理的科學與技巧 (The art and science of managing money) 資金管理分為 – 資金運用 (Investment) 實質投資 金融投資 人力資本投資 – 資金籌措 (Financing) 短期融資.
基礎物理總論 基礎物理總論 熱力學與統計力學(三) Statistical Mechanics 東海大學物理系 施奇廷.
人文學期末報告 人文學期末報告 第四組 陳宥儒 溫知涵 林湘瑜 楊雅筑 李佳宸. 組員名單  圖資二 陳宥儒  圖資二 溫知涵  圖資二 林湘瑜  圖資二 楊雅筑  圖資二 李佳宸.
Department of Air-conditioning and Refrigeration Engineering/ National Taipei University of Technology 模糊控制設計使用 MATLAB 李達生.
1 單元三 查詢結果的引用分析 Web of Science 利用指引 查看出版及被引用情況 在查詢結果的清單中,可以瀏覽近 20 年來查詢主題出版和被引用的情況。
資料處理 汪群超 2 這一年將學習到什麼? 網際網路:你在哪裡?瞭解你的角色、駕馭網路 。 Web 、 FTP 、 、 Proxy 、 Database Servers 記錄你的學習歷程、展現學習成果: Homepage 、 PowerPoint.
Network Connections ★★★☆☆ 題組: Contest Archive with Online Judge 題號: Network Connections 解題者:蔡宗翰 解題日期: 2008 年 10 月 20 日 題意:給你電腦之間互相連線的狀況後,題.
4 CHAPTER 需求與供給. 4 CHAPTER 需求與供給 C H A P T E R C H E C K L I S T 學習本章後,您將能: 區別需求量與需求的差異,瞭解需求的決定因素 1 區別供給量與供給的差異,瞭解供給的決定因素 2 解釋需求與供給如何決定市場價格與數量,以及需求與供.
: The largest Clique ★★★★☆ 題組: Contest Archive with Online Judge 題號: 11324: The largest Clique 解題者:李重儀 解題日期: 2008 年 11 月 24 日 題意: 簡單來說,給你一個 directed.
第1章 歷史、理論與應用方向 pp4-9,28-30,32.
Matlab Assignment Due Assignment 兩個 matlab 程式 : Eigenface : Eigenvector 和 eigenvalue 的應用. Fractal : Affine transform( rotation, translation,
8-1 Chapter 8 技術與流程 組織的技術 製造業的核心技術 服務業的核心技術 非核心技術與組織管理 工作流程的相依性.
 Prentice Hall Chapter 101 了解群體並發展 為有效能的團隊.  Prentice Hall Chapter 102 學習目標 比較群體與團隊 描述三種類型的團隊 團隊團結與產能之間的關係 解釋群體懈怠 解釋所謂的葡萄藤.
: Tight words ★★★☆☆ 題組: Problem Set Archive with Online Judge 題號: : Tight Words 解題者:鐘緯駿、林一帆 解題日期: 2006 年 03 月 14 日 題意: 給定數字 k 與 n (0 ≦ k.
第二章 供給與需求 中興大學會計學系 授課老師:簡立賢.
選舉制度、政府結構與政 黨體系 Cox (1997) Electoral institutions, cleavage strucuters, and the number of parties.
The 9th Asia Pacific Student Services Association Conference Power of youth: Developing Professionalism, Cooperative Learning and Social Responsibility.
效率與公平 效率與公平 Part 2 Chapter 5 市場如何運作 Economics, 6th, Parkin, 2004, Chapter 5: 效率與公平 [ 第 1 頁 ]
逢甲大學公共政策研究所座談會 與談人:何彩滿 香港大學亞洲研究中心博士後研究員. 報告結構 香港高等教育的發展沿革 香港教育體制與資源分配結構 香港高等教育的未來 — 亞太的教育樞紐 國際化與國際化的弔詭 香港的大學、研究所與台灣的比較.
: Problem A : MiniMice ★★★★☆ 題組: Contest Archive with Online Judge 題號: 11411: Problem A : MiniMice 解題者:李重儀 解題日期: 2008 年 9 月 3 日 題意:簡單的說,題目中每一隻老鼠有一個編號.
短缺,盈餘與均衡. 遊戲規則  老師想出售一些學生喜歡的小食。  老師首先講出價錢,有興趣買的請舉手。
: Multisets and Sequences ★★★★☆ 題組: Problem Set Archive with Online Judge 題號: 11023: Multisets and Sequences 解題者:葉貫中 解題日期: 2007 年 4 月 24 日 題意:在這個題目中,我們要定義.
The application of boundary element evaluation on a silencer in the presence of a linear temperature gradient Boundary Element Method 期末報告 指導老師:陳正宗終身特聘教授.
7.4 Lookback Options 指導教授:戴天時 報告者:陳博宇. 章節結構 Floating Strike Lookback Black-Scholes-Merton Equation Reduction of Dimension Computation.
第 6 章 完全競爭市場 本章內容要點 四種市場結構 短期供給曲線 長期供給曲線 生產者剩餘 完全競爭的效率.
資料結構實習-一 參數傳遞.
公用品.  該物品的數量不會因一人的消費而受到 影響,它可以同時地被多人享用。 角色分配  兩位同學當我的助手,負責:  其餘各人是投資者,每人擁有 $100 , 可以投資在兩種資產上。  記錄  計算  協助同學討論.
: Problem G e-Coins ★★★☆☆ 題組: Problem Set Archive with Online Judge 題號: 10306: Problem G e-Coins 解題者:陳瀅文 解題日期: 2006 年 5 月 2 日 題意:給定一個正整數 S (0
宏觀經濟學之均衡點. 定義  非自願性失業 當工人預備以現有的名義工資水平去接受工作,但 未能找到工作時,這種稱為非自願性失業。  通貨膨脹 所有名義價格持續上升。
Section 4.2 Probability Models 機率模式. 由實驗看機率 實驗前先列出所有可能的實驗結果。 – 擲銅板:正面或反面。 – 擲骰子: 1~6 點。 – 擲骰子兩顆: (1,1),(1,2),(1,3),… 等 36 種。 決定每一個可能的實驗結果發生機率。 – 實驗後所有的實驗結果整理得到。
演算法 8-1 最大數及最小數找法 8-2 排序 8-3 二元搜尋法.
逆向選擇和市場失調. 定義  資料不對稱 在交易其中,其中一方較對方有多些資料。  逆向選擇 出現在這個情況下,就是當買賣雙方隨意在 市場上交易,與比較主動交易者作交易為佳 。
產出外界效果的權利. 外界效果  是社會成本和私人成本發生分歧的原因。 外界效果可以是成本,也可以是收益。
845: Gas Station Numbers ★★★ 題組: Problem Set Archive with Online Judge 題號: 845: Gas Station Numbers. 解題者:張維珊 解題日期: 2006 年 2 月 題意: 將輸入的數字,經過重新排列組合或旋轉數字,得到比原先的數字大,
國立中央大學. 資訊管理系 范錚強 Inception 公司治理模擬.
© The McGraw-Hill Companies, Inc., 2006© The McGraw-Hill Companies, Inc., 2007 Chapter 4 IP 定址:分級式定址.
A Search Procedure for Hamilton Paths and Circuits Frank Rubin JACM, Vol. 21, No. 4, pp , Oct
Chapter 7 Sampling Distribution
: Help My Brother ★★★☆☆ 題組: Problem Set Archive with Online Judge 題號: 11033: Help My Brother 解題者: 呂明璁 解題日期: 2007 年 5 月 14 日.
2005/7 Linear system-1 The Linear Equation System and Eliminations.
連續隨機變數 連續變數:時間、分數、重量、……
IEEE Computer Society 長亨文化事業有限公司. 大綱 學會背景 內容 查詢功能.
1 柱體與錐體 1. 找出柱體與錐體的規則 2. 柱體的命名與特性 3. 柱體的展開圖 4. 錐體的命名與特性 5. 錐體的展開圖
REVERSIBLE AND HIGH- CAPACITY DATA HIDING IN MEDICAL IMAGES 報告學生:翁偉傑 1 Published in IET Image Processing Received on 25th June 2008 Revised on 15th June.
Asus WL-500GP OS/Platform/Environment Introduction.
A Fault Management Architecture For Wireless Sensor Network 學生:林忠成 學號: Date : 2010/05/10.
Presentation transcript:

DONAR Decentralized Server Selection for Cloud Services B96B02016 生化科技四 張煥基 B 電機三 姜慧如

Introduction The trend toward geographically-diverse server placement will only continue and increasingly include smaller enterprises, with the success of cloud-computing platforms like Amazon AWS. These services all need an effective way to direct clients across the wide area to an appropriate service location (or “replica”).

說文解字: Replica Selection Geo-replicated services need an effective way to direct client requests to a particular location, based on performance, load, and cost.

Replication Selection 兩大主 流 central coordination distributed heuristics(DONAR) 優點 (1) reliability (2) security 同時解決 (1) client performance (2) server load 缺點 (1) single point of failure (2) attractive target for attackers (3) overhead (4) less responsive to sudden changes (5) scalability limitations (1) nodes over-react based on their own local information (2) the system does not balance replica load effectively

Replica-Selection System 必備特質 [1] Expressive Customers should have a sufficiently expressive interface to specify policies based on (some combination of) (1) performance, (2)replica load, and (3) server and bandwidth costs. [2] Reliable The system should offer reliable service to clients, as well as stable storage of customer policy and replica configuration data. [3] Accurate Client requests should be directed to the service replicas as accurately as possible, based on the customer’s replica-selection policy. [4] Responsive The replica-selection system should respond quickly to changing client demands and customer policies without introducing instability. [5] Flexible The nodes should support a variety of replica- selection mechanisms [6] Secure Only the customer, or another authorized party,should be able to create or change its selection policies.

本篇主角: DONAR This paper presents DONAR, a distributed system that can offload the burden of replica selection, while providing these services with a sufficiently expressive interface for specifying mapping policies.

1.2 Decentralized Replica- Selection System mapping node 的任務 (1) direct its clients (2)adapt to changing conditions

Roadmap section 2 Simple and expressive interface for customer policies section 3 Stable, efficient, and accurate distributed replica-selection algorithm section 4 Scalable, secure, reliable, and flexible prototype system section 5 Experiments in Section 5 evaluate both our distributed algorithm operating at scale and a small-scale deployment of our prototype system section 6 compares DONAR to related work section 7 concludes

2.1 Customer Goals Customers use DONAR to optimally pair clients with service replicas minimize the network latency balance load across all replicas billing costs

2.2 Application Programming Interface create a DONAR service s = create () add a replica instance i = add (s, repl, ttl) time-to-live period (ttl) set split weightset (s, i, w i, ε i ) set bandwidth capset (s, i, B i ) match a client-replica pair match (s, clnt, i) prefer a particular replicapreference (s, clnt, i) remove a replica instance remove (s, i)

Roadmap section 2 Simple and expressive interface for customer policies section 3 Stable, efficient, and accurate distributed replica-selection algorithm section 4 Scalable, secure, reliable, and flexible prototype system section 5 Experiments in Section 5 evaluate both our distributed algorithm operating at scale and a small-scale deployment of our prototype system section 6 compares DONAR to related work section 7 concludes

3.1 Global Replica-Selection Problem 若想提高網路效能,就得以 accurate load distribution 為代價。 Our goal is to minimize this performance penalty

3.2 Distributed Mapping Service 每個 mapping node 各有其負責的 clients The node maps the client to a replica, and returns the result to that client.

3.2 Distributed Mapping Service 所有 clients 的 traffic, node n 所 佔的比例 mapping node n 所有的 traffic 中,從 client c 而來的 比例 所有從 client c 而來 ,經過 mapping node n 的 traffic , 流入 replica i 的比例, i.e., ∑ i R nci = 1

3.3 Decentralized Selection Algorithm optimization decomposition : 藉由 algorithmic iterations, 讓 local decisions converge to the global optimum. global performance local client performance

The optimization of local performance. 每一個 mapping node 以 client population & replica 上的 load term 來 optimizes local performance the unit price of violating the constraint. True proportion of requests directed to replica i

local replica selection 某特定 mapping node n, 將其所負 責之所有 clients 的 traffic 引到 replicas 所需的 performance penalty. load n = load, ∀ n ;超出預期流量的罰款。 ( 以一個 mapping node 的視野看世界 )

The core components of the algorithm are the local updates by each mapping node, and the periodic updates of replica prices.

overhead centralized solution distributed solution Each node needs to share its mapping decisions of size and each replica’s price λ i needs to be known by each node. This implies messages, each of size computational complexity is of size 每個 mapping node 會有 |N-1| 個 mapping node 的鄰居。他們會告訴 此 mapping node 個與 replica mapping 有關的消息。 個 replicas 會告訴每一個 mapping node 他們的 price

DONAR’s system design

Distribution optimization---tracking requests geographically A group of similarly located end-hosts.

Distributed Optimization-- Tracking Requests Geographically

Distributed Optimization-- Exponentially weighted moving average

Distributed Optimization-- Known cost assumption

DONAR’s System Design

Decomposed Local Problem For Some Node (n*)

DONAR Algorithm

Better!

DONAR’s System Design

Protocol-level mechanisms for Wide-area replica selection

Data Retrieving Steps

Data Retrieving Steps(cont.)

DONAR’s System Design

Secure Registration and Dynamic Updates

DONAR’s System Design

Distributed Data Storage

CRAQ (Chain Replication with Apportioned Queries) “while maintaining the strong consistency properties of chain replication, provides lower latency and higher throughput for read operations by supporting apportioned ( 分攤 ) queries: that is, dividing read operations over all nodes in a chain, as opposed to requiring that they all be handled by a single primary node.”

DONAR’s System Design

IP Anycast

Software Architecture

Results: DONAR Curbs Volatility

Results: DONAR Minimizes Distance

Conclusions

Thank You