Design of peer-to-peer distributed application

Assignment Help Other Subject
Reference no: EM133206583

Team-based Project of Peer-to-Peer Content Distribution and Distributed Query

This assignment is a team-based software development project. You will work in a small team for the design and development of the Peer-to-Peer distributed application. You will practise to work collaboratively and communicate effectively as part of a productive team.

In this assignment, you are to develop a particular Peer-to-Peer (P2P) application - content distribution and distributed query. The application allows peers to form an overlay and share information on the entire peer overlay. In this assignment, you will need to upgrade a client and a server to a peer. The peers are to form an overlay by IP multicast and the information held by a peer can be shared by any other peers. When a peer (requester) queries a question, it multicasts a request including the question to the peer overlay. Any peers (repliers) that have an answer to the question will respond to the requester. To query a question, a UDP datagram via IP multicast is used. Once the answer is found, replying the answer is to use another separate UDP communication between the requester and the replier. To complete this assignment, you need to complete the following 2 parts. In addition to multithreading and UDP packets, IP multicast must be used to form the peer overlay. Thus, you will need to review IP multicast (reference to Chapter 4.4 of the textbook, Week 5 lecture slides, Week 6 lab projects, and search for other academic articles about IP multicast if necessary) before starting the assignment. Client/server model is also useful for this assignment as a peer is a client and a server at the same time.

The assignment specification is as follows.

Part 1: Software Development and Documentation.

In this part, you are to develop a simplified system of Content Distribution and Distributed Query. The assumptions on the system are specified as follows.

1. Each peer has a unique ID.

2. Peers form a networking overlay by IP multicast.

3. Each peer has answers to some questions that can be shared by other peers.

4. Once a peer has a question, it needs to compose a request, including the question and communication information such as the reply IP address and port number.

5. Each peer can multicast a query request to all other peers in the overlay. After that, the peer is waiting on the reply port for answers.

6. To simplify the problem, we assume that the answer to a query question can always be found from at least one peer.

7. Once the answer to the question is found, the replier peer (the one who has the answer) will use a UDP datagram to send the answer to the requester peer (the one who asks the question).

8. A peer needs to ignore the requests from itself because by default IP multicast sends a message to every peer on the overlay.

The aforementioned rules have shown the equity between peers, that is, every peer is both a client and a server to share contents by distributed processing. Your implementation must satisfy all the aforementioned requirements in order to get a full mark.

On completion of the implementation of the framework, prepare a document to include:

1. An end user instruction about how to compile, run and test your system.

2. Description of key potential problems with IP multicast.

1. At least 3 peers in 3 individual folders, of which each folder contains:

- Files of Java source code of the implementation. The in-line comments on the data structure and program structure in the programs are required. The source code files must be able to be compiled by the standard JDK (Java Development Kit) or NetBeans IDE from Oracle.

- The compiled Java class files of the source code. The Java classes must be runnable on the standard JRE (Java Runtime Environment) from Oracle.

Note: an easy way to provide the source code and executables is to submit them in a NetBeans project.

2. A Microsoft Word document to address the issues as specified previously in Part 1.

Part 2: Teamwork Report

A student, who completes the whole project as a member of a productive team, is to prepare a document in the following format and address the following questions.

Template A

1. Team Details
a. Team Name (optional):
b. Your Name and Student ID:
c. Team Leader (Name and Student ID):
d. Other Team Members (Name and Student ID):
2. Teamwork Report
a. Describe team forming, task assigning and your role and responsibility, and the project timeline
b. Describe how the teamwork is conducted for the project
c. Describe a collaborative problem in the teamwork and how the problem is negotiated and solved by the team.
A student, who separates/quits a team in the middle of project, is to prepare a document in the following format and address the following questions.

Template B

1. Team Details
a. Team Name (optional):
b. Your Name and Student ID:
c. Team Leader (Name and Student ID):
d. Team Members (Name and Student ID):
2. Teamwork Report
a. Describe team forming, task assigning and your role and responsibility, and the project timeline
b. Describe why the teamwork has failed.
c. Describe and justify the impact on you and other team members caused by the failure of teamwork

Attachment:- Content Distribution and Distributed Query.rar

Reference no: EM133206583

Questions Cloud

What evolved into black power movement : American Military University-You have been divided into two groups. Group A will support SNCC and what evolved into the Black Power movement.
How do you feel about the study : How do you feel about the study? If you were asked these questions in the same context or manner how would you feel?
What are some strategies you can use : Write a 175- to 265-word response to the following questions: What current or future challenges do you believe you will have to overcome
Significance of role of african americans : GED 232-California Coast University-Explain the significance of the role of African Americans in the Union war effort during the Civil War.
Design of peer-to-peer distributed application : Design and development of the Peer-to-Peer distributed application. You will practise to work collaboratively and communicate effectively
Discuss the different types of advance directives : Ethics and Values - Part II - Discuss the different types of advance directives and the pros and cons of each. Do you have an advance directive
What trend do you observe when comparing different genders : What is the general trend for numbers of smokers in both age group? What trend do you observe when comparing different genders? Why might this difference exist?
Supplemental nutrition assistance program : Grossmont-Cuyamaca Community College District-who is wanting to enroll in the Supplemental Nutrition Assistance Program.
What methods communities use to dispose solid waste : What methods do communities use to dispose of solid waste? What ecological problems does solid waste disposal present?

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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