Digital Signature - Carleton University
Download
Report
Transcript Digital Signature - Carleton University
JXTA
By Fawaz AlSulaiman
[email protected]
3718739
Contents
•
•
•
•
•
•
Introduction
The Need Peer to Peer
Why JXTA
Walk Through JXTA
Conclusion
References
2
Introduction
• JXTA stands for “juxtapose” that
means putting things aside of each
other. Simply, Peer-to-Peer
3
History
• JXTA started as JXTA SEARCH in June
2000 when Gene Kan and Yaroslav
Faybishenko of Infrasearch created a
demo search engine which connected
multiple Web servers together using a
peer-to-peer (P2P) protocol.
• Nearly a year later, the Infrasearch
team is now part of Sun’s Project JXTA.
The Sun’s Project can be found on the site
http://www.jxta.org
4
Peer-to-Peer (P2P)
• The Internet has three valuable
fundamental assets
• Information which are documents, audios,
videos …etc.
• Network capabilities ,“Bandwidth”.
• Computing resources, such as processing,
storage
The Utilization Ratio for these assets is low !
Because of low end-user contributions
5
The Effect of the
Traditional Client-Server
Computing Model
• world produces about 2x1018 bytes of
information every year, but only
publishes about 3x1012 bytes.
Moreover, Google claims that it
searches about only 3.8x1010 web
pages
6
Continue
• Many new fiber have been installed,
the new installed bandwidth gets
little use since everyone goes to same
pages such as Amazon for books or to
eBay for auctions. What happen is,
“ hot spots just get hotter while cold
pipes remain cold”
7
JXTA Objective
• Interoperability
(peer groups, variety of services
supported)
• Platform Independence
(Programming Language, OS, Network
technology
• Ubiquity
(all digital devices, even not invented
yet devices)
8
9
JXTA Core Building
Blocks
•
•
•
•
•
•
Peers
peer groups
Advertisements
Messages
Pipes
Services
10
NetPeerGroup
Peer Group B
Peer Group A
11
Advertisement
•
•
•
•
•
•
•
•
•
•
•
•
•
•
<?xml version="1.0"?>
<!DOCTYPE jxta:PipeAdvertisement>
<jxta:PipeAdvertisement xmlns:jxta="http://www.jxta.org">
<Id>
urn:jxta:uuid-59616261646162614E50472050325033A10C
F46E7B7041B48C3EBF32A5DA2A4404
</Id>
<Type>
JxtaUnicast
</Type>
<Name>
frodo.replyTo
</Name>
</jxta:PipeAdvertisement>
12
13
JXTA Protocols
•
•
•
•
•
•
Endpoint Routing Protocol (ERP)
The Peer Resolver Protocol
The Rendezvous Protocol
The Peer Discovery protocol (PDP)
The Peer Information Protocol (RIP)
The Pipe Binding Protocol
14
15
Rendezvous Peer View
• Rendezvous super peers maintains its own rendezvous peer
view which is an ordered list of other known rendezvous in
the peer group by their peer ID’s.
• Rendezvous periodically select a given random number of
rendezvous from their local RVP, and send them a random
list of their known rendezvous.
• Rendezvous check their neighbor rendezvous (+1 or more, -1
or less).
• Rendezvous update and clean non-responding rendezvous
from their RPV.
• Rendezvous might retrieve rendezvous info from a
predetermined set of bootstrapping seeding rendezvous.
16
Edge peer Rendezvous
connection
• Check its cache for Rdv
advertisement.
• If No response
try to propagate request through
possible connections
• If No response Try seed Rendezvous
• If No response Be a Rendezvous
17
R6
R5
R1
H(adv)1
Adv1
P1
R4
R2
R3
18
R6
R1
R5
R5
R2
H(adv)1
R4
Adv1
P1
R3
P2
19
R8
R7
UP
R6
UP
R1
R5
down
R2
R4
H(adv)1
Adv1
R3
down
P1
P2
20
21
Conclusion
• JXTA considered one of the biggest
project in P2P.
• A project that unite all works of Peer
to Peer
• JXTA Open Source License attracts
a lot of developers and companies.
22
References
•
•
•
•
•
•
•
•
•
•
•
•
•
http://www.jxta.org
http://www.aim.com
Steve Waterhouse, “JXTA Search: Distributed Search for Distributed Networks”, Sun
Microsystems, Inc., 2001.
Li Gong, ”Project JXTA: A Technology Overview”, Sun Microsystems, Inc., 2002
http://www.google.com
JXTATM Technology: Creating Connected Communities, Sun Microsystems, 2004
Sing Li, “Making P2P interoperable: The JXTA story”,2001
Bernard Traversat, Ahkil Arora, Mohamed Abdelziz, Mike Duigou, Carl Haywood, “Project JXTA
2.0 Super-Peer Virtual Network”, Sun Microsystems, 2003
Daniel Brookshier, Darren Govoni, Navaneeth Krishnan, Juan Carlos Soto “JXTA: Java P2P
Programming”, SAMS, 1st edition,2002
Ion Stocia, Robert Morris, David Liben-Nowell, “Chord: A Scalable Peer-to-Peer Lookup Protocol
for Internet Applications”, ACM Transactions on Networking, Vol 11, No.1, 2003
Q.Lv and al., Search and Replication in Unstructured Peer-to-Peer Network,
www.cs.princeton.edu/~qlv/download/searchp2p_full.pdf
“Project JXTA: An Open, Innovative Collaboration”, Sun Microsystems.
Rita Yu Chen,Bill Yeager,”Java mobile agents on project JXTA peer-to-peer Platform”, Proceedings
of the 36th Hawaii International Conference on System Sciences(HICSS’03), IEEE, 2002
23