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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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