1 / 20

A Framework for Lazy Replication in P2P VoD

A Framework for Lazy Replication in P2P VoD. Bin Cheng 1 , Lex Stein 2 , Hai Jin 1 , Zheng Zhang 2. 1 Huazhong University of Science & Technology (HUST) 2 Microsoft Research Asia (MSRA) NOSSDAV 2008, Braunschweig, Germany, May 30, 2008. Background. VoD , popular Internet service

gaylord
Télécharger la présentation

A Framework for Lazy Replication in P2P VoD

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A Framework for Lazy Replication in P2P VoD Bin Cheng1, Lex Stein2, Hai Jin1, Zheng Zhang2 1 Huazhong University of Science & Technology (HUST) 2 Microsoft Research Asia (MSRA) NOSSDAV 2008, Braunschweig, Germany, May 30, 2008

  2. Background • VoD, popular Internet service • -Youtube, Hulu Can P2P help VoD? -Feasibility -Performance improvement • P2P, useful technology • -File sharing, live streaming • -BitTorrent, PPLive GridCastwith caching -36% decrease -43% departure misses Replication in P2P VoD

  3. Motivation 1 Replication algorithms 2 Performance evaluation 3 3 3 Conclusions 4 Outline

  4. Motivation -what does GridCast look like? http://www.gridcast.cn

  5. Motivation -GridCast system overview Hybrid architecture (client-server + P2P) • Tracker: indexes all joined peers • Source Server: stores a complete copy of every video • Peer: fetches chunks from source servers or other peers • Web Portal: provides the video catalog tracker Web portal Source Server

  6. Motivation -trace collection GridCast has been deployed on CERNET since May 2006 • Network (CERNET) • 1,500 Universities, 20 million hosts • Good bandwidth, 2 to 100Mbps to the desktop (core is complicated) • Content • 2,000 videos • 48 minutes on average • 400 to 800Kbps, 610 Kbps on average

  7. Departure misses become a big issue Motivation -trace analysis Classify misses by their causes Chunk X does not hit in the peer cache, Why? • New content • Never fetched by any peer • Peer departed • Fetched by some peers, but all of them are offline • Peer evicted • Fetched by an online peer, but evicted • Can not connect • Cached by some online peer that is not in the neighborhood • Insufficient bandwidth • Cached by some neighbor, but cannot retrieve it 43%

  8. Replication Challenges Chances Short user sessions Depart at any time Unused network resource 72% (DOWN), 81% (UP) Disk space 37% available disk Motivation -challenges and chances Caching is not enough. Can we do better?

  9. When ? Where? What ? Replication -three key questions Framework

  10. Replication –fundamental tradeoff • Benefit: • Reduce departure misses • Reduce some eviction misses if the cache is not full • Cost: • Increase network traffic • Increase bandwidth misses • Increase some eviction misses if the cache is full

  11. x x Replication -eager replication • Replicate all missed chunks • Use all of unused bandwidth A neighborhood B C

  12. A the increasing of chunk requests the increasing of online time B C Replication -lazy replication • Based on two predictors • Peer departure predictor • Chunk request predictor • Lazy-oracle and lazy-simple • Lazy factor • How much remained bandwidth can be used • Target peer selection • Random, Sequentially, File locality first neighborhood

  13. Replication -peer departure predictor Based on the observation of online time -50% of user session, less than 10 minutes -the peer with higher online time is likely to stay longer Simple departure predictor -online time <= 10 minutes, leave -online time > 10 minutes, stay

  14. popularity 8 6 4 3 t history future 4 3 2 1 now Replication -chunk request predictor Chunks requested recently are more likely to be requested earlier in the near future Simple chunk request predictor -use the chunk access history in the last several hours -give higher weight to the recent requests

  15. Performance Evaluation -simulation setup • Trace-driven • 1GB • Realized bandwidth • Last 1 hour history for chunk request predictor • 10 minutes interval for peer departure predictor • Use the existing neighborhood • Metrics • Benefit: decrease of chunks served by the source servers • Cost: increase of chunks replicated between peers • Efficiency: Benefit / Cost

  16. File locality first achieves the best performance Performance Evaluation -exploring configurations

  17. Lower lazy factor is better Performance Evaluation -lazy factor -More chunks are delayed to be replicated when the peer leaves -Smaller lazy factor, more efficient

  18. Performance Evaluation -comparison • Lazy-simple is close to lazy-oracle, in terms of benefits • Lazy-simple is better than eager, in terms of efficiency • Lazy-simple, 15% decrease of server load

  19. 1 2 3 We identify that departure miss is a major issue for P2P VoD with caching With two simple predictors, lazy replication can decrease server load by 15% Lazy replication is more efficient than eager replication Conclusions

  20. Thank you!Any questions…… Bin Cheng, Lex Stein, Hai Jin and Zheng Zhang HUST and MSRA Huazhong University of Science & Technology Microsoft Research Asia NOSSDAV 2008, Braunschweig, Germany

More Related