DONAR Decentralized Server Selection for Cloud Services
Patrick Wendell, Princeton University
Joint work with Joe Wenjie Jiang, Michael J. Freedman, and Jennifer Rexford
Decentralized Server Selection for Cloud Services Patrick Wendell, - - PowerPoint PPT Presentation
DONAR Decentralized Server Selection for Cloud Services Patrick Wendell, Princeton University Joint work with Joe Wenjie Jiang, Michael J. Freedman, and Jennifer Rexford Outline Server selection background Constraint-based policy
Joint work with Joe Wenjie Jiang, Michael J. Freedman, and Jennifer Rexford
Service Replicas Client Requests Mapping Nodes
Client 1 Client C DNS 1 DNS 2 DNS 10
Servers
Client 2 Clients Mapping Nodes Service Replicas
DNS Resolvers
Client 1 Client C
Datacenters HTTP Proxies
Client 2 Clients Mapping Nodes Service Replicas
HTTP Clients
Proxy 1 Proxy 2 Proxy 500
Service Replicas Client Requests Mapping Nodes
Service Replicas Client Requests Mapping Nodes
Service Replicas Client Requests Mapping Nodes
Service Replicas Client Requests Mapping Nodes
bandwidth_cap = 10,000 req/m split_ratio = 10% allowed_dev = ± 5%
2% 6% 10% 1% 1% 7% 2% 28% 9% 35%
Requests per Replica
2% 6% 10% 1% 1% 7% 2% 28% 9% 35%
Requests per Replica
Impose 20% Cap
2% 6% 10% 1% 1% 7% 14% 20% 20% 20%
Requests per Replica
5% 16% 29% 4% 3% 16% 3% 10% 12% 3%
Requests per Replica
Requests per Replica
5% 5% 5% 5% 5% 15% 15% 15% 15% 15%
Requests per Replica
5% 5% 5% 5% 5% 15% 15% 15% 15% 15%
Requests per Replica
7% 15% 15% 15% 5% 13% 5% 10% 10% 5%
Clients: c ∈ C Nodes: n ∈ N Replica Instances: i ∈ I
Minimize network cost
min α𝒅 ∙ 𝑆𝑑𝑗 ∙ 𝑑𝑝𝑡𝑢(𝑑, 𝑗)
𝑗∈𝐽 𝑑∈𝐷
Server loads within tolerance
Bandwidth caps met
s.t.
Measure Traffic Track Replica Set Calculate Optimal Assignment
Measure Traffic Track Replica Set Calculate Optimal Assignment
Measure Traffic Track Replica Set Calculate Optimal Assignment
Service Replicas Mapping Nodes
Service Replicas Mapping Nodes Client Requests
Service Replicas Mapping Nodes
Service Replicas Mapping Nodes
Share Traffic Measurements (106)
Service Replicas Mapping Nodes
Optimize
Service Replicas Mapping Nodes
Return assignments (106)
Local only
Central Coordinator
𝑗∈𝐽 𝑑∈𝐷
𝑗∈𝐽 𝑑∈𝐷 𝑜∈𝑂
Traffic from c
prob of mapping c to i cost of mapping c to i
∀ clients ∀ instances
∀ nodes Traffic to this node
∀𝑗𝑚𝑝𝑏𝑒𝑗 + 𝑡𝑜∗ α𝑑𝑜∗ ∙ 𝑆𝑜∗𝑑𝑗 ∙ 𝑑𝑝𝑡𝑢 𝑑, 𝑗
𝑗∈𝐽 𝑑∈𝐷
Service Replicas Mapping Nodes
Solve local problem
Service Replicas Mapping Nodes
Solve local problem Share summary data w/ others (102)
Service Replicas Mapping Nodes
Solve local problem
Service Replicas Mapping Nodes
Share summary data w/ others (102)
converges to global optimum
coordination
passing by 104
Service Replicas Mapping Nodes
Local only
Central Coordinator
DONAR
– All MeasurementLab Services (incl. FCC Broadband Testing) – CoralCDN
CoralCDN Replicas DONAR Nodes Client Requests
split_weight = .1 tolerance = .02
1 2 3 4 5 6 7 8 9 10
Requests per Replica Ranked Order from Closest Minimal (Closest Node) DONAR Round-Robin
– Global constraints – Distributed decision-making
– Flexible policies – General: Supports DNS & HTTP Proxying – Efficient distributed constraint optimization
http://www.donardns.org.
– Improving network measurement
– “Application Layer Anycast”
Michael J. Freedman, Karthik Lakshminarayanan, and David Mazières
(NSDI '06) San Jose, CA, May 2006.
– Amazon Elastic Load Balancing – UltraDNS – Akamai Global Traffic Management