Develop data structures - chord system

Assignment Help C/C++ Programming
Reference no: EM13240228

The Chord system is a structured peer-to-peer network architecture realizing a scalable distributed hash table. In Chord, the peers are organized as a ring. A position within Chord which is held by a computing node is called an index node or simply a peer. Each index node has a finger table, and, in addition, holds any data items associated with its own key value and any other data items associated with keys larger than the previous index node in the Chord ring.You may need to study the lecture notes, the relevant paragraphs in the text book, and relevant internet sources in order to acquire the level of understanding of CHORD required for this assignment. Commence the work on this assignment once you are confident to have understood how CHORD works.

Your task is to simulate the Chord system on a single computer as a single (non-parallelized, not multi-threaded) process. We will keep this task as simple as possible. The main objectives are:

• to understand how the nodes in Chord communicate.
• to understand how nodes are managed (added/removed) from the system.
• to understand the effects of adding and removal of index nodes.
• to understand how the finger table is computed and maintained.
• to understand how data distribution takes place in Chord.
• to understand how searching is done efficiently in Chord.
• to understand the concept of scalable code.

To keep the task as simple as possible, you are to write a single-threaded simulation (i.e. no additional threads are to be created during runtime). Follow the following guidelines:

Develop data structures which are suitable to hold required information for each peer in a CHORD system. Note that index nodes can hold local information only (I.e, an index nodes never knows of all the other index nodes).

Remember that your implementation is to simulate a distributed system. Do not make use of any global variables!

Attachment:- assn.zip

Reference no: EM13240228

Questions Cloud

Find the new shutter speed od camera : A camera takes a perfectly exposed picture when the lens diaphragm is set to f/4 and the shutter speed is 1/250 s, what should the new shutter speed be so that the exposure is still correct
Emperor’s shihuangdi elaborate tomb : Explain whether you think the emperor’s Shihuangdi elaborate tomb was motivated by power or religious beliefs.
Fredrick douglass an american slave defend : "In the long run, the opressor is also a victim" (Howard Zinn). Agree or disagree with this quotation using at least two specific exaples to defend your stance. Which is better book on race in america richards wright native son or fredrick douglass a..
Find the potential everywhere inside the box : A cubical box with sides of length a#consists of five metal plates which are welded together and grounded, Find the potential everywhere inside the box
Develop data structures - chord system : Develop data structures which are suitable to hold required information for each peer in a CHORD system. Note that index nodes can hold local information only
How far should she stand from the washington monument : A student has built a 20-cm-long pinhole camera for a science fair project. She wants to photograph the Washington Monument, How far should she stand from the Washington Monument
Compare an aspect of the tomb of emperor shihuangdi : Compare an aspect of the tomb of Emperor Shihuangdi with the burial tombs of other cultures, such as Egypt or Mesopotamia.
Determine exposure time should be used with camera b : Camera A has a lens with an aperture diameter of 8.30mm, What exposure time should be used with camera B in photographing the same object with the same film if this camera has a lens with an aperture diameter of 23.5mm
Loyalists-washington’s troops trapped cornwallis’s army : One British principle of government valued by the American colonists was the...? In late summer of 1781, Washington’s troops trapped Cornwallis’s army at..? Which of the following describes Loyalists?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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