Network of banking machines accessing

Assignment Help Computer Engineering
Reference no: EM133197374

Imagine that we have a network of processors, each one of which needs access to a common database in order to carry out its work (for example, a network of banking machines accessing client information). To simplify, assume all operations are queries (no operation changes the data). Our problem is to determine which processor(s) should store the database (these processors will be called "servers") in order to have reasonably fast access time (including the load on each server), as well as having as little duplication of the database as possible.

At one etreme, each processor could store its own copy of the database. This would ensure the fastest possible access time, but at the cost of replicating the database many times. At the other extreme, the database could be stored in a single server (all other processors would connect to the server to access the data). This would ensure the smallest amount of duplication, but at the cost of longer access times and server load. In either case, there is a significant cost if the network is large.

A reasonable middle ground between the two extremes would be to fix a distance parameter d and to store the database on as few servers as possible, chosen so that every processor is within distance d of at least one server (the distance is measured as the minimum number of links required to send communications from one processor to the next). Unfortunately, it seems impossible to solve this problem efficiently.

Formally, show that the following SERVERLOCATION problem is NP-complete by first showing that SERVERLOCATION  is in NP and then showing that it is NP-hard. You may use the NP-complete problem from the following SUBSET-SUM for your reduction where the SUBSET-SUM is an NP-Complete problem defined as follows: 

SUBSET-SUM:

Input: Set of Integers S= {w1, ... , wn}, integer W

Output: Is there S'  S that adds up exactly to W?

And the SERVERLOCATION problem is defined as follows:

Input: An undirected graph G (the network of processors) and non-negative integers k and d.
Output: Is there some subset S of no more than k vertices (the "servers") such that every processor is within distance d of some server in S? (The "distance" between vertices u, v is measured as the number of edges on a shortest path from u to v, or infinity (∞) if there is no path from u to v.)

Formally, show that the following SERVERLOCATION problem is NP-complete by first showing that SERVERLOCATION  is in NP and then showing that it is NP-hard

Reference no: EM133197374

Questions Cloud

Identify the central organization in the article : BUS 497 Capstone: Strategic Management Assignment - Telling the "Strategy Story" - Business Paper, California State University Northridge
Will tina be subject to any other special requirements : University of the Cumberlands - she is looking to raise that money through the internet and still fall under an SEC exemption. How should Tina go about raising
Describe how global warming is linked to extreme heat : please use some real-life examples that you learned from the textbook to describe how global warming is linked to each of these four symptoms
Identify a specific theory of cognitive or moral development : Identify a specific theory of cognitive or moral development, and in 2-3 sentences summarize the major assumptions.
Network of banking machines accessing : Imagine that we have a network of processors, each one of which needs access to a common database in order to carry out its work
Discuss the requirements of a valid offer : Discuss the requirements of a valid Offer. Provide an example and Discuss the requirement of a valid Acceptance. Provide an example
Analyse the external environment for lyft in vietnam : Lyft has appointed you as a consultant, once the current coronavirus pandemic is over, the company is considering investing overseas in Southeast Asia as global
Explain to management the benefits of stricter tolerances : Reflect on how you would explain to management the benefits of stricter tolerances in your company's monitoring.
Should the doctors disclose this event to anyone : Should the doctors disclose this event to anyone and, if so, to whom and Read and watch the video on Katelyn Ohashi. Who do you see exhibiting unethical

Reviews

Write a Review

Computer Engineering Questions & Answers

  What are the bc-dr best practices for any organization

What are the BC/DR best practices for any organization? What recommendations would you have for Wilmington University Library?

  What subtree of binary search tree containing only equal key

What must a subtree of a binary search tree containing only equal keys look like in this case?

  What is the relevance of process modeling in green bpr

What is the relevance of process modeling in Green BPR? What techniques would you use to undertake green process modeling?

  What is your understanding of the term computer

What is your understanding of the term "computer"? Why do we call it computer? Is that what it does? The response must be typed.

  How many of the salespeople earned salaries

A company pays its salespeople on a commission basis. The salespeople each receive $200 per week plus 9 percent of their gross sales for that week.

  What is the relationship between the language accepted

Suppose, however, that in a particular case, what resulted was, in fact, a perfectly good FA. Let us call it NIF. Give an example of one such machine.

  UFCFFL-15-M Parallel Computing Assignment

UFCFFL-15-M Parallel Computing Assignment Help and Solution, University of the West of England - Assessment Writing Service

  Suppose that you are working for the business systems

assume that you are working for the business systems analysis department in ibms prc division which offers both

  Write a cpp program in which you declare variables

Write a C++ program in which you declare variables that will hold an hourly wage, a number of hours worked, and a withholding percentage.

  Evaluate the heat loss from the fin

We have used linear one-dimensional elements to approximate the temperature distribution along a fin.

  In what companies has the dbms been implemented

In what companies has the database management system (DBMS) been implemented, and for what purposes? According to the information that you found, what are three strengths and weaknesses of the product?

  Implementing the callback function using mouse and keyboard

Implementing the Callback Function using Mouse and Keyboard. The goals of assignment are to familiarize yourself with the OpenGL command of rendering pipeline

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd