client-server assignment for internet distributed systems

20
Client-Server Assignment for Internet Distributed Systems

Upload: jadyn

Post on 23-Feb-2016

98 views

Category:

Documents


0 download

DESCRIPTION

Client-Server Assignment for Internet Distributed Systems. Overview. Introduction Problem Definition Problem Model Solution Conclusion. Introduction. Internet - Distributed System Example: Email,IMS. Features: 1 . Communication Load Clients assigned to two different servers. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Client-Server  Assignment for  Internet Distributed Systems

Client-Server Assignment for Internet Distributed Systems

Page 2: Client-Server  Assignment for  Internet Distributed Systems

Overview

• Introduction• Problem Definition• Problem Model• Solution• Conclusion

Page 3: Client-Server  Assignment for  Internet Distributed Systems

IntroductionInternet - Distributed System Example: Email,IMS

Page 4: Client-Server  Assignment for  Internet Distributed Systems

Features:1. Communication Load Clients assigned to two different servers. Clients assigned to same server.

2. Load Balancing Use fewer servers. Servers are heavily loaded

Page 5: Client-Server  Assignment for  Internet Distributed Systems

Observations:

Page 6: Client-Server  Assignment for  Internet Distributed Systems

Problem Definition

Optimal client server assignment for a pre-specified trade-off between load balance and communication load.

Emerging Applications:1. Social networks Eg: Facebook

2. Distributed database system, Eg: MapReduce

Page 7: Client-Server  Assignment for  Internet Distributed Systems

Communication Model

Initially assign clients to a system with 2 servers (Sa, Sb)

Then we extend the 2-server solution to multiple servers.

Xi = 1, client i is assigned to SaXi = -1, client i is assigned to Sb : data rate from client i to client j.

Page 8: Client-Server  Assignment for  Internet Distributed Systems

Communication Load if i and j are assigned to same server. 2 if clients are assigned to 2 different servers.

Total communication load,

If i and j are assigned to different servers, = -1

Page 9: Client-Server  Assignment for  Internet Distributed Systems

Load Balance

Load balance, D =

Page 10: Client-Server  Assignment for  Internet Distributed Systems

D can be expressed as, Refer link

Adding D to objective function will make the function non-quadratic.

Hence we modify D,

Page 11: Client-Server  Assignment for  Internet Distributed Systems

Equivalent formula of D, D = , where Refer link

As, = 1,= Refer link

Page 12: Client-Server  Assignment for  Internet Distributed Systems

Optimization problem:

Minimize:

Subject to :

Where:

=

is an arbitrary co-efficient (0≤ ≤1)

Page 13: Client-Server  Assignment for  Internet Distributed Systems

Objective function : minimize

Where we define,

Refer link

Page 14: Client-Server  Assignment for  Internet Distributed Systems

Semidefinite Programming Semidefinite programming is a class of convex

optimization. : set of real Symmetric matrices. A matrix is called positive semidefinite if ,

for all It satisfies strict quadratic programming

Page 15: Client-Server  Assignment for  Internet Distributed Systems

Solution: minimize: tr( subject to: Solution Matrix =

W-> Matrix with diagonal elements 0 and Wi,jU -> symmetric & Positive semidefinite matrix

Page 16: Client-Server  Assignment for  Internet Distributed Systems

Conclusion

1. Hard problems could be formulated as a optimization problem and solved.

2. optimization problems, are widely used in tremendous number of application areas, such as transportation, production planning, logistics etc.

Page 17: Client-Server  Assignment for  Internet Distributed Systems

Presented by : Swathi Balakrishna

Page 18: Client-Server  Assignment for  Internet Distributed Systems

Extra information:Transform program into Vector program:

Minimize:

Subject to: = 1,

Page 19: Client-Server  Assignment for  Internet Distributed Systems

Vector programming -> Semidefinite programming

W-> Matrix with diagonal elements 0 and Wi,jU -> symmetric & Positive semidefinite matrix minimize: tr( subject to:

Page 20: Client-Server  Assignment for  Internet Distributed Systems

Solution Matrix = Cholesky Factorization: Obtain V= ( Satisfying .

Final solution:Round n vectors (to n integers (