Cost-efficient deployment of distributed software services

Similar documents
Smoothing Spline ANOVA for variable screening

Control strategies for network efficiency and resilience with route choice

Needed Information to do Allocation

Efficient Distributed File System (EDFS)

Kent State University CS 4/ Design and Analysis of Algorithms. Dept. of Math & Computer Science LECT-16. Dynamic Programming

Polyhedral Compilation Foundations

Angle-Independent 3D Reconstruction. Ji Zhang Mireille Boutin Daniel Aliaga

Solving two-person zero-sum game by Matlab

CS246: Mining Massive Datasets Jure Leskovec, Stanford University

Support Vector Machines

Determining the Optimal Bandwidth Based on Multi-criterion Fusion

Support Vector Machines. CS534 - Machine Learning

An efficient iterative source routing algorithm

Efficient Load-Balanced IP Routing Scheme Based on Shortest Paths in Hose Model. Eiji Oki May 28, 2009 The University of Electro-Communications

Meta-heuristics for Multidimensional Knapsack Problems

an assocated logc allows the proof of safety and lveness propertes. The Unty model nvolves on the one hand a programmng language and, on the other han

Overview. Basic Setup [9] Motivation and Tasks. Modularization 2008/2/20 IMPROVED COVERAGE CONTROL USING ONLY LOCAL INFORMATION

Multi-objective Virtual Machine Placement for Load Balancing

Sequential search. Building Java Programs Chapter 13. Sequential search. Sequential search

Ecient Computation of the Most Probable Motion from Fuzzy. Moshe Ben-Ezra Shmuel Peleg Michael Werman. The Hebrew University of Jerusalem

Parallelism for Nested Loops with Non-uniform and Flow Dependences

LECTURE : MANIFOLD LEARNING

Towards Semantic Knowledge Propagation from Text to Web Images

Application of Improved Fish Swarm Algorithm in Cloud Computing Resource Scheduling

5 The Primal-Dual Method

A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS

NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS

Wavefront Reconstructor

Distributed Middlebox Placement Based on Potential Game

LARRY SNYDER DEPT. OF INDUSTRIAL AND SYSTEMS ENGINEERING CENTER FOR VALUE CHAIN RESEARCH LEHIGH UNIVERSITY

Intra-Parametric Analysis of a Fuzzy MOLP

Outline. Type of Machine Learning. Examples of Application. Unsupervised Learning

Today Using Fourier-Motzkin elimination for code generation Using Fourier-Motzkin elimination for determining schedule constraints

Support Vector Machines

An Optimal Algorithm for Prufer Codes *

Biostatistics 615/815

Programming in Fortran 90 : 2017/2018

CHAPTER 2 PROPOSED IMPROVED PARTICLE SWARM OPTIMIZATION

Feature Reduction and Selection

Machine Learning 9. week

SENSITIVITY ANALYSIS IN LINEAR PROGRAMMING USING A CALCULATOR

Lecture 5: Multilayer Perceptrons

Classifier Selection Based on Data Complexity Measures *

Combined Functional Partitioning and Communication Speed Selection for Networked Voltage-Scalable Processors Λ

Parallel and Distributed Association Rule Mining - Dr. Giuseppe Di Fatta. San Vigilio,

A Time-driven Data Placement Strategy for a Scientific Workflow Combining Edge Computing and Cloud Computing

Lecture 4: Principal components

Natural Computing. Lecture 13: Particle swarm optimisation INFR /11/2010

Cluster Analysis of Electrical Behavior

Combined Functional Partitioning and Communication Speed Selection for Networked Voltage-Scalable Processors

Load-Balanced Anycast Routing

Graph-based Clustering

Cost-Minimizing Dynamic Migration of Content Distribution Services into Hybrid Clouds

Topology Design using LS-TaSC Version 2 and LS-DYNA

Application of VCG in Replica Placement Strategy of Cloud Storage

Learning-Based Top-N Selection Query Evaluation over Relational Databases

FAHP and Modified GRA Based Network Selection in Heterogeneous Wireless Networks

CS 534: Computer Vision Model Fitting

Degree-Constrained Minimum Spanning Tree Problem Using Genetic Algorithm

Course Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms

A Fast Content-Based Multimedia Retrieval Technique Using Compressed Data

12/2/2009. Announcements. Parametric / Non-parametric. Case-Based Reasoning. Nearest-Neighbor on Images. Nearest-Neighbor Classification

Delay Variation Optimized Traffic Allocation Based on Network Calculus for Multi-path Routing in Wireless Mesh Networks

Preconditioning Parallel Sparse Iterative Solvers for Circuit Simulation

DiBA: Distributed Power Budget Allocation for Large-Scale Computing Clusters

Review of approximation techniques

Joint Energy Scheduling and Water Saving in Geo-Distributed Mixed-Use Buildings

Cognitive Radio Resource Management Using Multi-Agent Systems

A New Token Allocation Algorithm for TCP Traffic in Diffserv Network

A Modelling and a New Hybrid MILP/CP Decomposition Method for Parallel Continuous Galvanizing Line Scheduling Problem

Multi-stable Perception. Necker Cube

Advanced radio access solutions for the new 5G requirements

Risk-Based Packet Routing for Privacy and Compliance-Preserving SDN

NAG Fortran Library Chapter Introduction. G10 Smoothing in Statistics

Problem Definitions and Evaluation Criteria for Computational Expensive Optimization

Vectorization in the Polyhedral Model

Collaboratively Regularized Nearest Points for Set Based Recognition

Sum of Linear and Fractional Multiobjective Programming Problem under Fuzzy Rules Constraints

A mathematical programming approach to the analysis, design and scheduling of offshore oilfields

Data-Aware Scheduling Strategy for Scientific Workflow Applications in IaaS Cloud Computing

Using Particle Swarm Optimization for Enhancing the Hierarchical Cell Relay Routing Protocol

A Decentralized Lifetime Maximization Algorithm for Distributed Applications in Wireless Sensor Networks

ARTICLE IN PRESS. Signal Processing: Image Communication

Classification / Regression Support Vector Machines

Research of Dynamic Access to Cloud Database Based on Improved Pheromone Algorithm

Categories and Subject Descriptors B.7.2 [Integrated Circuits]: Design Aids Verification. General Terms Algorithms

Multicriteria Decision Making

The Greedy Method. Outline and Reading. Change Money Problem. Greedy Algorithms. Applications of the Greedy Strategy. The Greedy Method Technique

GSLM Operations Research II Fall 13/14

Discriminative Dictionary Learning with Pairwise Constraints

Concurrent models of computation for embedded software

On the Efficiency of Swap-Based Clustering

COVERAGE CONTROL ON MULTI- AGENT SYSTEM

A Genetic Algorithm Based Dynamic Load Balancing Scheme for Heterogeneous Distributed Systems

QOS AWARE HW/SW PARTITIONING ON RUN-TIME RECONFIGURABLE MULTIMEDIA PLATFORMS

Learning the Kernel Parameters in Kernel Minimum Distance Classifier

Parallel Incremental Graph Partitioning Using Linear Programming

Virtual Machine Migration based on Trust Measurement of Computer Node

Subspace clustering. Clustering. Fundamental to all clustering techniques is the choice of distance measure between data points;

A fast algorithm for color image segmentation

Transcription:

1/30 Cost-effcent deployment of dstrbuted software servces csorba@tem.ntnu.no

2/30 Short ntroducton & contents Cost-effcent deployment of dstrbuted software servces Cost functons Bo-nspred decentralzed optmzaton strateges Cross-valdaton o The deployment problem MAPE notaton target envronment o Intro to CEAS o How to encode pheromones o Scenaro 1 : Collaboratng software components o Scenaro 2 : Replcaton management o Scenaro 3 : Cloud computng o Valdaton usng ILP o Summary & not covered

3/30 The deployment problem and ts complexty Focus on: - load-balancng - remote comm. - replca management - and fnancal costs #S Deployment mappng #N

4/30 In the context of the MAPE cycle o REQs 1 6 : 1. Effcency 2. Robustness 3. Autonomcty 4. Adaptvty 5. Scalablty 6. Generalty & Extensblty Deployment mappng # S #N

5/30 Target envronment

6/30 Notaton example o Constants: N = {n 1 n 2 }; D = {d 1 }; d 1 = {n 1 n 2 }; S = {S 1 }; C = {c c }; K = {k k }; o Varables: D 1 = {d 1 }; H 1 = {n 1 n 2 }; L 1 = {30 => n 1 20 => n 2 }; M 1 = {c => n 1 c => n 2 };

7/30 Introducton to CEAS Cross-Entropy Ant System o Orgnally: robust dstrbuted path management n network nodes Schoonderwoerd et al. ant based routng scheme (1997) Rubnsten Cross-Entropy for stochastc optmsaton (1999) Helvk & Wttner dstrbuted autoregressve varant (2003) o 2 types of ants: Explorer => cover up the search space.e. do random search Normal => optmze mappng o 2 phases n an teraton Forward search => ants lookng for a deployment mappng Backtrackng => ants update the pheromone database

8/30 CEAS deployment strateges how t works... n 1 n 4.? r updatetemp(cost) C = Ø? F(). n 5 n 6? Fwd. search Pheromone update select get : ml nr nr?. n 2 n 3?.

9/30 CEAS auxlary adustments o Parallel nests In onng / splttng networks o Load-samplng To facltate load-balancng and gather nformaton o Guded random hop-selecton Taboo-lstng Cover domans and then nodes o Bndng & release of nstances / mantenance Ease convergence Condtonal

10/30 CEAS n a class dagram o Implemented n Smula/DEMOS o Peersm (Java) ongong

11/30 Pheromone encodngs Yes / No o Tables dstrbuted over the possble hosts Instances

12/30 Scenaro 1 : Collaboratng software components o Deployment of collaboratng components UML 2.0 collaboratons o PAPER A C o Target o E.g. Load-balancng (.e. mn. devaton from average load) Mnmzaton of remote communcaton S 1 : a smple clent-server S 2 : authorzaton and authentcaton server

13/30 Scenaro 1 (cont d) o Deployment cost functon wth global load-balance estmate and communcaton cost

Cost / DB sze 14/30 Scenaro 1 (cont d) o Example run from PAPER A Iteratons 2 7 = max DB sze 117 = optmal cost exploraton

15/30 Scenaro 1 (cont d) o Deployment costs for multple servces Elmnatng global knowledge (~T ) Multplcatve (~better convergence) o Deployment cost functon where

16/30 Scenaro 1 (cont d) Cost o Examples wth 3 servces from PAPER C Node error & repar New node Iteratons

17/30 Scenaro 2 : Replcaton management o Deployment of replcas o PAPER D E o Target o E.g. Load-balancng Node- & doman-dsontness S 3 : a smple DB replca S 4 : 3-way replcaton

18/30 Scenaro 2 (cont d) o Deployment cost functon Doman-dsontness Node-dsontness Load-balancng where and

19/30 Scenaro 2 (cont d) o Example from PAPER E 65 replcas 11 nodes n 5 domans

20/30 Scenaro 2 (cont d) o Example from PAPER E Costs of servce S 10 2000 explorer teratons Splttng of d 1 after 4000 teratons Mergng the regons after 5000 teratons

21/30 Scenaro 3 : Cloud computng o Deployment of VM replcas n a cloud-lke envronment o PAPER F o Target Load-balancng Node- & doman-dsontness Mnmze fnancal costs 5 prvate (costs 0) 2 publc clouds (costs 1 and 10) 18 clusters 130 nodes (cluster szes of 10 or 5 nodes) 5 x 25 servces replcaton level 5 => 625 VMs

22/30 Scenaro 3 (cont d) o Deployment cost functon o where the weghtng functon s defned as o and the sum of fnancal costs s

23/30 Scenaro 3 (cont d) o Combnaton of cost functon terms n F 4

24/30 Scenaro 3 (cont d) o Results of 100 smulaton runs each settng No cluster weghts Lnear weghtng Exponental weghtng

Cost 25/30 Valdaton usng ILP o o PAPER G ILP (AMPL/CPLEX) Examples

26/30 Valdaton usng ILP (cont d) o ILP bult wth obectve: o and correspondng constrants: o wth the varables: o Cross-valdaton of exact solutons vs. heurstcs Global-vew vs. decentralzed 1 1 mn K N col f col m b T 2 1 2 1 1 1 1 ) ( ; 1 ) ( ) ; (2 ; ; ; 1; k k l l k k k l l k C C N n n c c c c k col m m n c c c c k col m m n m e T n T m e n c b m c m ~ F 1 () Impedments: global vew n memory no support for dynamcty m sze exploson

27/30 Summary o CEAS Heurstc optmzaton Decentralzed algorthm ant-lke agents o Applcaton domans Deployment of collaboratng sw components Deployment of replcas VM nstance placement n prvate and publc clusters 1) Cost functons 2) Heurstc algorthms 3) Modelng scenaros 4) Cross-valdaton

28/30 Publcatons o Category I. Valdaton of mappngs o Category II. Load-balancng and communcaton costs o Category III. Load-balancng and replcaton costs o Category IV. Cluster costs

29/30 Not covered not mplemented not yet gven up o Translaton of the smulatons to PeerSm o Addtonal ILP models o The power savng dmenson o Mgraton costs o Scalng and larger problem szes o Incremental scalng o Coordnaton and desgnated nest selecton o Better and broader servce models o Introducng clents o Costs derved from servce models o Deployment dagrams o Feedback to functonal desgn o Experments usng a mddleware platform e.g. DARM

30/30 Thank You for your attenton!* * and many thanks to Poul E. Heegaard Peter Herrmann and Hen Melng