•
Edge Peer
is a peer that shares resources to other peers.
•
Super Peer
is a peer that keeps a set of locations of edge peers and known super peers.Furthermore, it has a duty to propagate queries (for resources) received from any peers to itsknown peers. We call peers that known by other as “
neighbored peers
”.
•
VO Peer
is a peer that forms a virtual organization. Moreover, it defines the policy formanaging peers inside the VO. To join a specific VO by any peers, they need to join viaregistering with the VO peer that manages the VO.
•
Global Peer
is a peer that provides the naming directory of VO peers that need to advertisetheir existence to other peers that need to join with.Grid system proposes the term “virtual organization (VO)” for managing shared resources based onthe defined policy. To merge the capability of peer-to-peer to the grid system for building asystematic sharing environment, we must provide the concept of virtual organization as well.However, the conventional peer-to-peer systems do not provide the facility for defining global policy.
Although, some literature such as (Iamnitchi 2001) has also proposed the approach and structure formerging both grid and peer-to-peer systems, the building of VO has not fully addressed. Our work isdifferent from since we propose the components for building the grid environment that also addressthe problem of building a virtual organization as well. In addition, we show that the proposealgorithms can easily scale to as many as 100,000 peers while other works usually address the systemof only up to 5,000 peers. In the next section, several algorithms for resources discovery will beproposed.
3.
ALGORITHMS
Most of the resource discovery algorithms (included our proposed algorithms) for peer-to-peersystems are based on the widely used flooding strategy. This strategy is to flood queries from one peerto its neighbored peers. Firstly, a user submits queries from his peer (called a requester) to otherneighbored peers. When a neighbored peer receives the queries, it will process the queries over itsown local shared resource. If any results are found, it will send a response message (includedinformation for accessing to the resources) back to requester. The neighbored peer also forwards thequeries to its own neighbored peers. To prevent infinite loop of flowing queries in the network, everymessage of query is handled by
time to live
(TTL) that specifies how many hops the message maytake. When a peer receives a query, it decrements the TTL, and if the TTL is greater than 0, it stillforwards the query to all its neighbored peers. Until the TTL is 0, the query is stopped forwarding.The advantage of this flooding strategy lies on the fact that it does not require any centralized servers.However, this strategy produces large amount of messages in order to propagate the queries to peers.This it will degrade the overall performance of network severely.In this work, 3 resource discovery algorithms are proposed as follows:
•
Algorithm-1
(named “Query-Filter Algorithm)
this algorithm is designed to improve the oldflooding algorithm that we labeled as
Algorithm-0 (named “Dumb Flooding Algorithm”)
.
The query-filter algorithm improves the dumb flooding algorithm by reducing the bursting of produced messages. Each query attaches the information about routed peers (the peers thatrouted by queries). That is, when a query passes each peer, the query will attach informationto inform that it has already passed this peer. Consequently, before propagating queries toothers by a peer, it must check the routed peers from the information. If it found that the
Add a Comment