Presentation is loading. Please wait.

Presentation is loading. Please wait.

Building of P2P Overlay Networks via Voronoi and Gossip Ranieri Baraglia.

Similar presentations


Presentation on theme: "Building of P2P Overlay Networks via Voronoi and Gossip Ranieri Baraglia."— Presentation transcript:

1 Building of P2P Overlay Networks via Voronoi and Gossip Ranieri Baraglia

2 P2P Research Activity Starts in 2004 with the EU project CoreGRID NOE on Foundations, Software Infrastructure and Applications for large scale distributed, Grid and Peer-to-Peer Technologies ( ) Continued in the project CNR RSTL Resource Discovery on Large Collaborative Networks ( ) Currently Carried on in collaboration with Laura Ricci, Dep. of Computer Science of Pisa University Patrizio Dazzi, ISTI, CNR Matteo Mordacchini, IIT, CNR Michele Albano, Instituto de Telecomunicações, Campus Universitário Santiago Aveiro, Portugal 2

3 What we did? – Voronoi-based overlay to support range query multi attributes – Gossip–based overlay to support user communities detection – Building of Gossip-based Delaunay overlay 3

4 Voronoi-based overlay to support range query multi-attributes Motivation Searching in large networks is a basic functionality offered by P2P systems Most P2P systems exploit Distributed Hash Tables load balancing guaranteed by hashing function no support for complex queries (multi-attribute, range, k neighbor…) Several applications need complex queries distributed directory service geographic information system ………. Alternatives to DHT are currently investigated distributed tree data structures locality preserving hashing functions Voronoi-based overlay 4

5 Voronoi-based Overlays Let O = {o 1,..., o n } be a set of n distinct objects (sites) in a k-dimensional space S. Voronoi tessellation partitions S into n regions (cells) V(o j ), j= 1,..,n, paired with each o i  O, where V(o j ) includes all the points q such that: dist(q, o j ) ≤ dist(q,o i ) for i≠j Delaunay Triangulation connects two cells sharing a border (Voronoi neighbors) Voronoi Overlay = Delaunay links Geometrical properties of Delaunay triangulation exploited to define efficient routing strategies Compass Routing Indexed objects instead of physical nodes Each dimension represents an object’s attribute Each object is publisched in the point that corresponds to the values of its attributes 5

6 Compass Routing Compass Routing: A 5 chooses A as next hop because  RootA 5 A <  Root A 5 A 1 and  Root A 5 A <  Root A 5 A 4 Each node reverses compass routing to detect its sons in the AoI-cast tree: A 5 is the A next hop in the AoI-tree 6

7 Hivory: Range Queries on Hierarchical Voronoi Overlay Main features – Supports the execution of range query multi- attribute – Scalable solution – Small execution cost to publish an object and to execute a query – Structured to support fault tolerance 7

8 Hivory: Range Queries on Hierarchical Voronoi Overlay Basic ideas of our solution : Clustering of peers is exploited to define a hierarchy of Voronoi diagrams Each level of the hierarchy includes a set of 2-dimensional Voronoi diagrams is associated with a different pair of the objects’ attributes 8

9 Hivory: Superpeers Election When the size of a cluster exceeds a predefined threshold Log(k) peer are elected Superpeers, with k the cluster dimension A new Voronoi diagram at a lower level is built All the objects belonging to the cluster are mapped to that Voronoi diagram by exploiting a new pair of the objects' attributes 9 SuperPees={P 3, P 5,P 9 } SuperPees={P 10,P 4,P 11 }

10 Hivory: the Join Operation |cluster|< threshold = 4 P j requests to join O 3 C={o 1,o 2 } The join request of P j is propagated by the greedy routing to one of the peers (P i ) of the cluster C. The size of the new cluster is smaller than the threshold. P i notifies the identity of the new peer P j to the other peers of C. C={o 1,o 2,o 3 } 10

11 Hivory: the Join Operation |cluster|= threshold = 4 {O 1,O 2, O 5 } P j requests to join O 8 {P 1,P 2 } {o8}{o8} {o 5 } {o 2 } {o 1 } A new Voronoi diagram is created Log(|cluster|) peers are elected SupePeers 11

12 Hivory: the Join Operation |cluster|> threshold = 4 P 8 requests to join o 8 {P 1,P 2, P 8 } {o 3 } {o 4 } {o 2, o 8 } {o 1 } {P 1,P 2 } {o 3 } {o 4 } {o 2 } {o 1 } 12

13 13 Hivory: Range Query Resolution Greedy Routing to reach a o i within the AoI defined by a query Q AoI-cast: propagation of the query in the AoI -construction of a tree spanning the AoI through reverse compass routing If the next hop site for AoI-cast is paired with a cluster C, forward the query to P c randomly chosen from the peers belonging to C – size(C) ≥ threshold P c switches the query at the lower level the AoI defined by the lower level attributes is exploited to restrict the query space – size(C) < threshold P c broadcast the query to an other peer belonging to C

14 Hivory: Complexity Analysis We considered – A uniform distribution – A unbalanced distribution: one network x at level k with Nx ≈ N M: levels within the hierarchy, N: overall number of clusters, N j : # of clusters at level l i of the hierarchy (i  1…M), s i : combined selectivity of attributes at level N i. uniformunbalanced joinlog 2 N log 2 N M log 2 N x  log 2 N range queryM* s 1 *....*s M *Ns k * N x 14

15 Voronoi-based overlay M. Albano, L. Ricci, M. Baldanzi, R. Baraglia, "VoRaQue: Range queries on Voronoi overlays”, IEEE Computers and Communications, M. Albano, R. Baraglia, M. Mordacchini, L. Ricci, Efficient Broadcast on Area of Interest in Voronoi Overlays, International Conference on Computational Science and Engineering, M. Mordacchini, L. Ricci, L. Ferrucci, M. Albano, R. Baraglia, "Hivory: Range Queries on Hierarchical Voronoi Overlays”, IEEE Tenth International Conference on Peer-to-Peer Computing (P2P),

16 Group: A gossip-based protocol for community detection Motivations Identifying communities of users (nodes) with similar interests in distributed environments is a key point to obtain an efficient and efficacy information diffusion. This problem is even more important in highly dynamic systems such as peer-to-peer. Many solutions in the literature are limited to built "private" communities restricted to a list of neighbors of each peer. 16

17 Group: A gossip-based protocol for community detection Main features – Each user has associated a profile defining his/her interests – The profile may be constructed by considering purchase items, visited pages, resources accessed, …. – Exploits a gossip protocol to define clusters of peers characterized by similar interests according to a proper similarity metrics. – Solution completely distributed 17

18 Group: A gossip-based protocol for community detection A two-layered gossip framework. The sampling layer (Cyclon) is responsible for feeding the Vicinity layer, which discovers peers characterized by similar interests. The Group layer works on the built overlay and detects the communities in three steps: Identification of the leader candidates, Identification of the potential leaders, The leader election. The profile of the peer leader characterizes the related community. Peer leader profile exploited by no-leader peers to join a community. 18

19 Group: A gossip-based protocol for community detection Communities are dynamic entities. After a prefixed time interval each peer independently starts a new flow of votes. The Cyclon+Vicinity mechanism leads to have an updated peers’s neighborhood. 19

20 Gossip–based overlay for supporting user communities detection R. Baraglia, P. Dazzi, M. Mordacchini, L. Ricci, A P2P REcommender system based on Gossip Overlays (PREGO), 10th IEEE International Conference on Computer and Information Technology (CIT 2010), R. Baraglia, P. Dazzi, M. Mordacchini, R. Perego, L. Ricci, Gossip Communities: Collaborative Filtering Through Peer-to-Peer (Extended Abstract), SEB 2010, pages R. Baraglia, P. Dazzi, M. Mordacchini, L. Ricci, L. Alessi, GROUP: A Gossip Based Building Community Protocol, Smart Spaces and Next Generation Wired/Wireless Networking, Lecture Notes in Computer Science 2011, Volume 6869/2011. R. Baraglia, P. Dazzi, M. Mordacchini, L. Ricci, L- Alessi, On Democracy in Peer –to- Peer systems, CoRR abs/ , R. Baraglia, P. Dazzi, M. Mordacchini, L. Ricci, A Peer-to-Peer Recommender System for self-emerging user communities based on Gossip Overlays, Journal of Computer and Systems Sciences, Elsevier, 2012 (accepted) 20

21 GoDel: A Gossip-based Algorithm to Build Delaunay Overlay 21 Each node in the overlay is characterized by the (x,y) coordinates Combined use of Cyclon and Vicinity Exploits The Cyclon and Vicinity protocols for gathering information A distributed version of the Edge flipping algorithm Flipping for building Delaunay overlays. GODEL is a novel distributed algorithm that incrementally build a Delaunay 0verlay by exploiting information gathered by P2P gossip protocols

22 GoDel: A Gossip-based Algorithm to Build Delaunay Overlay R. Baraglia, B. Guidi, P. Dazzi, L. Ricci, GoDel: Delaunay Overlays in P2P Networks via Gossip, P2P 2012 (Submitted paper). 22

23 Next Future Work To make a final version of the Hivory and MABRAVO algorithms. To enhance the GoDel protocoll by including in it the gossip model for data diffusion To investigate epidemic-based protocols for designing self-organizing and self-optimizing overlay networks made up of large sets of actors (humans and not humans). 23

24 24 Thank you for your attention Questions?


Download ppt "Building of P2P Overlay Networks via Voronoi and Gossip Ranieri Baraglia."

Similar presentations


Ads by Google