Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose we want to replicate a file over a collection of n servers, labeled S, S, ..., S...To place a cop of the file at

image text in transcribed

Suppose we want to replicate a file over a collection of n servers, labeled S, S, ..., S...To place a cop of the file at server results in a placement cost of i, for an integer Ci > 0. Now, if a user requests the file from server >i, and no copy of the file is present at >i, then the servers Si-, Si-, Si-.... are searched in order until a copy of the file is finally found, say at server S; where j > i. This results in an access cost ofJ-1(Note that the lower-indexed servers Si-, Si-2, are not consulted in this search.) The access cost is 0 if >i holds a copy of the file. We will require that a copy of the file be placed at server S,, so that all such searches will terminate, at the latest, at S, We'd like to place copies of the files at the servers so as to minimize the sum of placement and access costs. Formally, we say that a configuration is a choice, for each server si with i = 1,2, ,n-1, of whether to place a copy of the file at Si or not. (Recall that a copy is always placed at S.) The total cost of a configuration is the sum of all placement costs for servers with a copy of the file, plus the sum of all access costs associated with all n servers Give a polynomial -time algorithm to find a configuration of the minimum total cost. What is the running time of your algorithm

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional IPhone And IPad Database Application Programming

Authors: Patrick Alessi

1st Edition

0470636173, 978-0470636176

More Books

Students also viewed these Databases questions

Question

How are U.S. firms taxed on their foreign earnings?

Answered: 1 week ago

Question

Write a note on transfer policy.

Answered: 1 week ago

Question

Discuss about training and development in India?

Answered: 1 week ago

Question

Explain the various techniques of training and development.

Answered: 1 week ago

Question

Explain the various techniques of Management Development.

Answered: 1 week ago

Question

Have roles been defined and assigned?

Answered: 1 week ago

Question

Are these written ground rules?

Answered: 1 week ago

Question

How do members envision the ideal team?

Answered: 1 week ago