Presentation is loading. Please wait.

Presentation is loading. Please wait.

A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 1 A Distributed Search.

Similar presentations


Presentation on theme: "A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 1 A Distributed Search."— Presentation transcript:

1 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 1 A Distributed Search Service for P2P File Sharing in Mobile Applications 4 September, 2003 Authors - Christoph Lindemann and Oliver P. Waldhorst, University of Dormund, Dept. of Computer Science

2 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 2 Itinerary Background Studies Introducing Passive Distributed Indexing (PDI) Algorithm Details Performance Results Conclusion and Future Work

3 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 3 Background Studies A Mobile Ac-Hoc Network Short-range Wireless, e.g. Bluetooth Medium-range Wireless, e.g. IEEE 802.11 Such Ac-Hoc Network can be used for data sharing between mobiles, e.g. Documents, MP3s and Video Clips How to enable searching of P2P data on top of the architecture?

4 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 4 Background Studies Related Works SolutionsComments Napster Hybid P2P using a Centralized Index Server No mobile device in general has the capability to act as the central server Even there is a central server, it cannot be reachable from all client due to Hidden-Node Problem Gnutella Fully distributed searching using multi- hop flood algorithm Flooding entire network with query messages limits its scalability 7DS First in mobile environment, utilizing flood algorithm Similar drawback as Gnutella

5 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 5 Proposed Solution Objectives “to provide a general-purpose file search service which can be used by several kinds of mobile applications running on top” Passive Distributed Indexing (PDI) - Each device stores its local documents as a Repository - Uniquely identify documents with its local path and unique device ID, a.k.a. Document Identifier - A local Index Cache is maintained on each device, which forms the core component of this architecture - Searching is performed by keyword searches

6 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 6 Passive Distributed Indexing Operation Scenario Node 1 Node 2 Node 3 … q: d1, d2 q: d2, d3

7 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 7 Passive Distributed Indexing Operation Scenario Node 1 Node 2 Node 3 [QUE] q ? … q: d1, d2 q: d2, d3

8 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 8 Passive Distributed Indexing Operation Scenario Node 1 Node 2 Node 3 … q: d1, d2 q: d2, d3 [QUE] q ?

9 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 9 Passive Distributed Indexing Operation Scenario Node 1 Node 2 Node 3 q: d1, d2 q: d1, d2, d3 [REP] q : d1, d2 [REP] q : d2, d3 [REP] q : d1, d2

10 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 10 Passive Distributed Indexing Operation Scenario Node 1 Node 2 Node 3 q: d1, d2, d3 [REP] q : d3

11 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 11 Performance Analysis Independent Parameters No. of Devices, Transmission Range, Mobility Model No. of Documents, No. of Keywords of Interest, Distribution of Keywords Inter-request Time of Queries Index Cache Size, Max. TTL, (Document Timeout) System Param. Application Param. Protocol Param.

12 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 12 Performance Analysis Values for Simulation

13 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 13 Performance Analysis Performance Measure ?

14 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 14 Performance Analysis Performance Measure ? N all = 5

15 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 15 Performance Analysis Performance Measure ? N all = 5N rep = 3

16 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 16 Performance Analysis Performance Measure ? N all = 5N rep = 3 Query Hit Rate = N rep / N all (other performance measures, e.g. system response time, is left for future work.)

17 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 17 Analysis of Results Sensitivity to System Parameters : No. of Devices & Index Cache Size Local Index Cache has very little Impact Limited impact of ↑in No. of devices on PDI performance (1) ↑in No. of devices leads to ↑in PDI performance (2) (1, 2) Small index cache cannot accommodate entries for all matching documents Conclusion : Index Cache size can be small when No. of devices is small, whereas sufficient index cache size can boost performance in case of large No. of devices

18 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 18 Analysis of Results Sensitivity to System Parameters : No. of Devices & Forwarding TTL Message forwarding has very little Impact Forwarding improves performance by 20% (1) (1) A higher probability of reaching more devices for forwarding in medium No. of devices (2) High No. of devices fills local index cache with nearby entries, which replaces message- forwarding adequately Conclusion : Forwarding is useful in medium density systems, but should be disabled for high density systems to avoid unnecessary network traffic Advantage vanished when No. of devices grows further (2)

19 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 19 Analysis of Results Sensitivity to System Parameters : Transmission Range & Index Cache Size Local Index Cache has very little Impact (1) Index Cache Size significantly improves performance (1) Small No. of devices is reached with very low transmission range, thus increase in cache size makes no impact Conclusion : Index Cache size can be small for short-range devices such as Bluetooth, whereas No. of devices should be high to compensate for the low Hit Rate

20 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 20 Analysis of Results Sensitivity to System Parameters : Transmission Range & Forwarding TTL PDI with message forwarding disabled gains best performance for high-range devices (1) Responses for uncommon entries are still forwarded over great distances, that fills index caches with junk entries Conclusion : When transmission range is high, message forwarding should be disabled

21 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 21 Analysis of Results Sensitivity to App Parameters : Zipf Zipf-like distribution is used to model PDF of searching keywords For keyword k j, Pr(k = k j ) ≈ j - α, for 0 <= α <= 1 Therefore, the higher the α, more localized is the query stream

22 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 22 Analysis of Results Sensitivity to App Parameters : Zipf & Index Cache Size PDI is extremely sensitivity to locality in request stream for small Index Cache Conclusion : For applications offering no significant locality in the request stream, sizes of Index Cache must be chosen adequate PDI can achieve a hit rate of > 70% despite of locality in large Index Cache

23 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 23 Analysis of Results Sensitivity to App Parameters : Zipf & Forwarding TTL PDI is gains performance improvements from packet forwarding for higher locality, 2-hop forwarding performs similarly with higher Hops Conclusion : 2-hop message forwarding should be enabled in applications offering a high degree of locality in request stream For even higher locality, 2-hop forwarding out- performs the others

24 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 24 Analysis of Results Sensitivity to App Parameters : No. of Document & Index Cache Size Performance decreases linearly with No. of documents per device (1) Has been shown elsewhere what this behaviors is explained if a Zipf-like request distribution is assumed Conclusion : Maybe more sophisticated Forwarding Strategies rather than increasing Index Cache Size should be employed to improve the performance Performance increases with Index Cache size in only a log-like fashion (1)

25 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 25 Analysis of Results Sensitivity to App Parameters : No. of Document & Index Cache Size Performance is improved by 10% if a small No. of documents exists in each device, with near-maximal performance with 2-hop forwarding Conclusion : 2-hop forwarding can improves performance in small No. of documents per device, but all forwarding gains no performance when No. of documents per device is large For large No. of documents per device, no significant difference in forwarding strategy

26 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 26 Analysis of Results Transient Behaviors Real Hit Rate is constant over time Real Hit Rate : Rate of hits reported from devices actually hold a matching document Conclusion : System will attain its maximal performance automatically and no initial warm- up mechanism is required PDI Hit Rate increases steadily after simulation start

27 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 27 Conclusion and Future Work General-purpose Distributed Document Search Service Utilizes Local Caching of Query Results to Avoid Flooding the Network Tunable (Cache Size, TTL, Document Timeout) to Support Different Environments & Applications PDI is … Provides an Initial Filling of Index Caches in a Very Short Time, No Warm-up Mechanism is Needed

28 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 28 Requires Sufficiently Large Index Cache Size 2-hop Packet Forwarding should be Disabled If Either The No. of Devices or Transmission Range is High Requires Sufficient Large Index Cache Size Conclusion and Future Work Contributions of Simulation Results High Density, Low Query Locality Medium Density, Medium-range Large No. of Documents

29 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 29 Conclusion and Future Work Future Works include … 1.Investigation on the Impact of Document Modifications on the Performance of PDI, and the Design of the Appropriate Workaround Mechanism 2.Evaluation of the Performance of PDI considering Sophisticated Workload Models that Contains Location Depended Queries 3.Development of a Prototype Implementation of PDI and Field Tests

30 A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 30 Conclusion and Future Work Comments … 1.PDI is a very simple solution for porting P2P File Sharing to Ac-Hoc Mobile Network 2.The Paper contains comprehensive simulation results and analysis of the PDI mechanism 3.However, the author did not suggest further modification on the PDI mechanism based on the analyzed results 4.There is also no analytical comparisons to any other similar implementations 5.PDI is yet to be challenged for improvement


Download ppt "A Distributed Search Service for Peer-to-Peer File Sharing in Mobile Application Presented by Tony Sung On Loy, MC Lab, CUHK IE 1 A Distributed Search."

Similar presentations


Ads by Google