Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume a distributed database in a p2p network implemented through a circular Distributed Hash Table (DHT) with 8 users. Suppose that each user identifier is

Assume a distributed database in a p2p network implemented through a circular Distributed Hash Table (DHT) with 8 users. Suppose that each user identifier is a number in the range [0,2^(4)-1]. Now suppose that the database contains entries of the type (filename,IP address) where the filename is an integer number between 0 and 49999.

1. Give an example of simple hash function that can be used to design such a distributed database.

2. Suppose that the peers in the distributed database have the following identifiers: 2, 5, 6, 8, 10, 12, 13, 15. Peer 13 wants to find the IP address of the peer from where to download the file with filename = 697. Describe the steps that will be taken by the peers according to your proposed hash function.

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

Step: 3

blur-text-image

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

Temporal Databases Research And Practice Lncs 1399

Authors: Opher Etzion ,Sushil Jajodia ,Suryanarayana Sripada

1st Edition

3540645195, 978-3540645191

More Books

Students also viewed these Databases questions

Question

What are the functions of top management?

Answered: 1 week ago

Question

Bring out the limitations of planning.

Answered: 1 week ago

Question

Why should a business be socially responsible?

Answered: 1 week ago

Question

Discuss the general principles of management given by Henri Fayol

Answered: 1 week ago