Survey
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
Resource Addressable Network:
An Adaptive Peer-to-Peer Discovery Substrate
for Internet-Scale Service Platforms
Balasubramaneyam Maniymaran
Ph.D. Student,
Department of Electrical & Computer Engineering,
McGill University
Supervisor: Dr. Muthucumaru Maheswaran
Introduction
• On-demand computing (ODC) an emerging model for next
generation systems.
• Peer-to-peer (P2P) is one way of building ODC systems.
– P2P Grid, P2P CDNs, public computing utilities.
• To assemble ODC from P2P resource base.
– Need a generalized resource discovery scheme.
– Discover resources based on given requirements.
• Resource addressable network (RAN).
– Discovers resources based on attributes and location.
– One of the major concerns in RAN is scalability:
• Low overhead in managing overlay and information.
• Three design concepts: fully decentralized, distributed knowledge,
and adaptive design.
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
2
Resource Addressable Network
• RAN: middle layer between services and
resources.
• Attribute-based and location-based discovery.
ODC Service
RAN discovery substrate
Profile-based discovery
Profile-based naming
Naming the resources
based on their attributes
Location-based discovery
Landmark-aided positioning
Physical Resources
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
Network positioning mechanism,
assigning coordinates for each node
in the network delay space
3
Network Positioning
• Network positioning: assigning coordinates for
the nodes in a virtual Cartesian space, from
which real network delay can be predicted.
Internet
l12
l12 ≈ √[(x1-x2)2+(y1-y2)2]
y
(x2, y2)
(x1, y1)
Cartesian space
x
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
4
Landmark Aided Positioning
• Landmark aided positioning (LAP): the network
positioning scheme for RAN
• Using a set of landmarks.
• Other nodes:
– Select a subset of the total landmarks and ping them.
– Run optimization algorithm to position themselves to
minimize the total error in distance prediction.
• Two phases of LAP:
– Landmark positioning: positioning the landmarks.
– Node positioning: positioning the normal nodes.
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
5
LAP:: Landmark Positioning
• Each landmark calculates its coordinate relative
to other landmarks.
• Landmark positioning involves two loops:
– Inner loop contains the iteration for node positioning.
• Mostly affects the computational complexity.
– Outer loop contains many node positioning phases.
• Between each node positioning phase, nodes have to contact
others to get their new coordinates message complexity.
• Simplex and Spring both found to be producing high outer loop
iterations.
• Introducing new algorithm called SpringEq.
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
6
LAP:: Landmark Positioning (cont…)
• SpringEq (short for “spring in equilibrium”):
– Inspired from Spring; same spring system concept.
– But instead of minimizing the deformations in the
spring, SpringEq consider the equilibrium condition.
• The resultant force applied at each node is zero.
– A spring system at equilibrium can be modelled by a
set of simultaneous equations.
– SpringEq solves this simultaneous equation using fast
iterative process.
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
7
LAP:: Landmark Positioning (cont…)
Simplex
Simplex
SpringEq
Spring
SpringEq
No. of iteration vs. ping error.
Spring
Distance correlation vs. ping error.
• Random network configuration; 100 landmarks.
• Distance correlation: correlation between the ping and calculated distance
matrices.
• Simplex – good prediction, but too many iterations; Spring – comparatively
few iterations, but bad prediction;
– SpringEq outperforms both Simplex and Spring.
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
8
Clustered LAP
• Clustered landmark aided
positioning (CLAP):
– CLAP assumptions:
• Network errors are created by
abnormal congestion.
• Peers within the same network
segment can be trusted.
• Congestion does not affect pings
within a network segment.
cluster
initialization
– Data smoothing and optimization
can not handle this.
join a cluster
ping others and share
the values with others
calculate cluster
diameter
find coordinates using simple LAP
(SLAP)
CLAP
adjustment
• Non-random network errors
severely impact positioning.
inter exchange
SLAP coordinates
calculate cluster
centroid
tune SLAP coordinates so that
it lies within cluster diameter
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
9
CLAP Performance
CLAP
Experiment with
Planetlab data.
CLAP’s minimum
performance is better
than SLAP’s maximum
performance.
SLAP
CLAP is relatively
robust
Variation of distance correlation with increasing
network congestion.
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
10
CLAP Performance (cont…)
CLAP
SLAP
Cumulative distribution of relative distance error in the system
for different amount of network congestion.
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
11
Location-based Discovery
• Finding a resource at specific coordinate/range:
– Multidimensional search – spatial data structure.
– Chose Hilbert curve as the data structure.
• Hilbert curve:
– Provides a d-D to 1-D mapping.
– Preserving proximity.
– Hierarchical Hilbert index location ID (LID).
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
12
Location-based Discovery (cont…)
Hilbert mapping of the nodes in Planetlab network
(n = 133, approximation level = 7)
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
13
Location-based Discovery (cont…)
Routing table at node with LID = 2.3.3.1.0
• Routing table for location-based discovery.
– Non-zero error in pings justifies fixed length LIDs.
– Ring pointers ensuring connectivity; jump pointers enhancing
route complexity.
• Average search hop complexity = h (approx. level) O(1).
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
14
Profile-based Discovery
• Discovery systems implements naming schemes:
– Label-based naming (LBN): DNS, IP Address.
• Scalable, but not flexible.
– Description-based naming (DBN): LDAP.
• Flexible, but with high overhead due to information
maintenance, complex matching algorithms.
• Introducing profile based naming (PBN):
– Labels popular attribute-value combinations.
• Combines the goods of LBN and DBN.
• Can not discover all the attribute-value combinations.
• Trading off flexibility (performance) for scalability.
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
15
Profile-based Discovery (cont…)
profiles
profile space
description
1
2
3
description space
Profile IDs
Profile 1: {Intel/AMD, ≤ 512MB} : 0.*
Profile 2: {Intel with 1GB}
: 1.0
Profile 3: {Intel/AMD, > 1GB} : [1.1,1.2]
• Profile-based routing table is very similar to location-based routing table.
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
16
Related Works
• Network positioning:
– GNP:
• Centralized implementation, fixed set of landmarks.
– Vivaldi:
• Dynamic landmarks: anybody can be a landmark.
• New node disturbing others, requires RPC calls.
– Others: NPS, PIC, big-bang simulation, PCoord.
– LAP:
•
•
•
•
Semi-dynamic landmarks.
Low message overhead design.
CLAP improvement.
RAN infrastructure helps selecting landmarks.
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
17
Related Works (cont…)
• Location-based discovery:
– SkipNet: proximity based on DNS names – fails outside DNS
structure.
– Pastry, expressway of CAN: document discovery.
– RAN:
• Proximity information is available at any resolution.
• No indirection.
• Fixing the search hop complexity.
• Attribute-based discovery:
– Directory services: LDAP, MDS.
– Intentional naming scheme/Twine:
• Document discovery for resource discovery.
– RAN:
• Trading off performance for scalability.
• No indirection.
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
18
Conclusion
• Expected contributions:
– Architecture:
• Extending the concept of structured-document discovery to
resource discovery:
– Extracting a structure out of the unstructured metric
space using Hilbert curve.
• First discovery structure combining attribute-based and
location-based discovery.
– Network positioning:
• CLAP: resilient to network congestion.
• SpringEq: providing low message complexity.
• Spring vs. Simplex comparison.
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
19
Conclusion (cont…)
• Expected contributions (cont…):
– Location-based discovery:
• Efficient overlay design using Hilbert indices.
• Fixing the search complexity by fixing the search resolution.
– Profile-based naming:
• Trading off flexibility for scalability.
• Efficient profile-based routing overlay design.
• Profile-based search complexity depends on popularity
distribution.
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
20
Conclusion (cont…)
• Roadmap to completion:
– LAP:
• Analysis of SpringEq for its convergence and stability. (Sep. 2005)
– Architecture:
• The deficiencies the routing mechanism can face due to the nonuniformity of metric space will be studied. (Oct. 2005)
– Location-based discovery:
• A practical value for search resolution will be found based on errors
in pings and the applications requirements. (Nov. 2005)
• Simulation study. (Mar. 2006)
– Profile-based discovery:
• Analysis of other possible schemes that can map description onto
profile space. (May 2006)
• Impact of incorporating virtual profiles. (July 2006)
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
21
Thank you
Advanced Networking Research Laboratory,
The School of Computer Science,
McGill University, Montreal, QC, Canada.
22