31.12.2014 Views

Decentralized Search in Scale-Free P2P Networks

Decentralized Search in Scale-Free P2P Networks

Decentralized Search in Scale-Free P2P Networks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Fig. 5, 6 and 7 compare the cumulative number of nodes<br />

found by our proposed algorithms with the High Degree Node<br />

Seek<strong>in</strong>g Strategy (HDNSS) of Adamic et al [1]. We perform<br />

our simulations on random power-law graphs with exponents<br />

2, 2.5 and 3 respectively. We can see that both our rewir<strong>in</strong>g<br />

strategies perform at par with HDNSS for power-law graphs<br />

, a little better than HDNSS for power-law<br />

and vastly better than HDNSS for power-law<br />

<br />

Figure 7. Cumulative nodes found data for random power-law graph with<br />

100,000 nodes hav<strong>in</strong>g 21,841 connected components and power-law exponent<br />

of 3 and giant connected component with 47,085 nodes. Our algorithms<br />

perform much better as compared with HDNSS.<br />

Figure 5. Cumulative nodes found data for random power-law graph with<br />

10,000 nodes hav<strong>in</strong>g 164 connected components and power-law exponent of 2<br />

and giant connected component with 9398 nodes. Our algorithms perform at<br />

par with HDNSS algorithm.<br />

In order to test the performance of our algorithms <strong>in</strong> the<br />

presence of disconnected components, we perform another<br />

simulation on random power-law graphs. If the source and<br />

target are <strong>in</strong> separate components then the rout<strong>in</strong>g time will be<br />

<strong>in</strong>f<strong>in</strong>ite for HDNSS algorithm. Therefore we use a new metric<br />

(1/Rout<strong>in</strong>g Time) to compare the performance of our<br />

algorithms with HDNSS. A better rout<strong>in</strong>g algorithm will have<br />

lower Rout<strong>in</strong>g times and thus higher value of this metric<br />

(1/Rout<strong>in</strong>g Time). Fig. 8 shows that our algorithms perform<br />

better than HDNSS consistently for various graph sizes. The<br />

difference <strong>in</strong> the values of the metric will be higher as we<br />

<strong>in</strong>crease the power-law exponent of the graph or the graph size<br />

as this leads to an <strong>in</strong>crease <strong>in</strong> the number of connected<br />

components <strong>in</strong> the graph.<br />

Figure 6. Cumulative nodes found data for random power-law graph with<br />

10,000 nodes hav<strong>in</strong>g 852 connected components and power-law exponent of<br />

2.5 and giant connected component with 8185 nodes. We can see that HDNSS<br />

fails to discover new nodes after some steps. Our algorithms allow the<br />

message to propagate further by allow<strong>in</strong>g rewir<strong>in</strong>g. Eventually, our algorithms<br />

will traverse all nodes <strong>in</strong> the graph.<br />

Figure 8. Rout<strong>in</strong>g time graph for random power-law graphs of vary<strong>in</strong>g size<br />

and power-law exponent of 2. We calculate the average value of 1/Rout<strong>in</strong>g<br />

Time for 1,000 iterations of each algorithm us<strong>in</strong>g random source and target<br />

nodes. This process is repeated 10 times for each graph size to determ<strong>in</strong>e the<br />

f<strong>in</strong>al value of the metric for that graph size. Table I shows the average number<br />

of connected components for each graph size.<br />

779

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!