Peer-to-Peer Content Distribution and Distributed Query Assignment 2

Verified

Added on  2025/09/06

|13
|640
|365
AI Summary
Desklib provides solved assignments and past papers to help students succeed.
Document Page
PEER-TO-PEER CONTENT DISTRIBUTION
AND DISTRIBUTED QUERY
ASSIGNMENT 2
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Table of Contents
Introduction......................................................................................................................................2
Project Documentation....................................................................................................................3
Part 1............................................................................................................................................3
Part 2................................................................................................................................................7
Single case...................................................................................................................................7
Multiple Case...............................................................................................................................8
Part 3................................................................................................................................................9
Conclusion.....................................................................................................................................10
References......................................................................................................................................11
1
Document Page
Introduction
The peer learning with the programming skills and communications through the Peer to peer.
Then after this process the server and the client need to be updated in the peer. There is an IP and
these peers were following. To store the data in peer the multicasting is used. But they are
sharing data with peers and also they are in over layered forms. UDP diagram is used for
Multicasting is used for answering the question
2
Document Page
Project Documentation
Part 1
There are few steps below to explain compilation and also to run the application in the
environment of programming steps are added below -
For the creating of project
Main important part is the installation. Install the latest version of an eclipse in your machine.
Firstly, the eclipse software is to be installed in the machine (Logicchild, 2019).
When the window gets opened, then on the top header select the options file
followed by the new and then the java project.
3
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Give the project name after the window popup then clicks the package and
eventually which will be followed by the right click on the name and create the
files of java which you needed.
And then just complete the logics into the Java classes.
4
Document Page
Steps of Compiling
On the top header select open file option in File menu after creating the whole
file.
Then through the popup window select path of the project and upload files and
open them.
5
Document Page
Then package names must be clicked on the right and open section followed by the
project then open files of java which followed by selecting it.
Then click on ProjectGUi.java file and then from the top header select run option
(logicchild, 2009).
6
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Then when the compilation is successful then do similar process mentioned in the above
line, by the selection of run button (Geabunea, 2016).
7
Document Page
Part 2
Here at below some instruction are mentioned which are very useful test situation for both of the
situation which is single & multiple & these are:
Very first most step opening for the project and run such that popped up window.
On this, filling the details like port id, the group is port for reception & group named as
Reception Port & Group Port and complete for all (Geabunea, 2016).
Single case
8
Document Page
Multiple Case
9
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Part 3
Issues for client up-gradation and the server
At the situation of last phase at high level with followed by large quantity of counting.
Here, is the defects & problems whenever dealing with sending of large files.
Disconnection of services which are basic and the situation is followed into churn.
At the different variant situation, there are nodes which are leaving permanently or some
of them are joining temporarily.
10
Document Page
Conclusion
When there is successfully achieving the target, there is complete knowledge if P2P
communication with dealing via programming skills. In this, we have also gained the process of
performing the multicasting of IP as well as questioning & answering for the queries. For this we
have applied the concept of UDP tactics. In the case there is answer, then founded and otherwise
answer is generated or replied from other UDP. Here, at last, we are also able to deal with GUI
Java and know how to manage & code it with UDP concepts.
11
chevron_up_icon
1 out of 13
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]