研究生: |
詹振隆 Chen-Lung Chan |
---|---|
論文名稱: |
代理伺服器之快取策略於影音串流系統之應用 Proxy Caching Strategies for Streaming Video Applications |
指導教授: |
王家祥
Jia-Shung Wang |
口試委員: | |
學位類別: |
博士 Doctor |
系所名稱: |
電機資訊學院 - 資訊工程學系 Computer Science |
論文出版年: | 2006 |
畢業學年度: | 94 |
語文別: | 英文 |
論文頁數: | 103 |
中文關鍵詞: | 代理伺服器 、快取 、影音串流 |
外文關鍵詞: | Proxy, Caching, Streaming Video |
相關次數: | 點閱:2 下載:0 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
在隨選視訊系統(VOD)中,我們常會在代理伺服器(Proxy)上實做 Prefix Caching 或 Interval Caching 這兩種快取策略,來同時提高系統效能與使用者播放滿意度。然而,這兩種策略都是為了服務同質性的使用者而設計,在面對現實系統中常存在的異質性用戶(具有不同的網路頻寬或記憶體緩衝空間)時,表現則不盡理想。本論文探討異質性之用戶端緩衝空間所造成的問題,並且介紹了兩個用來提升系統效能的機制。第一個機制是一個可最小化各 Proxy 頻寬用量的快取策略。在此,我們分析了 Prefix Caching 與 Interval Caching 的理論效能,並且定義了這些策略對系統效能的改善量。根據這些分析結果,我們設計了一個混和的快取策略,在 Proxy 上同時使用 Prefix Caching 與 Interval Caching 來減少頻寬使用;同時,我們也提供一個最佳的快取空間分配演算法,來決定所要使用的快取類型與大小。我們所提出的另一個機制就是讓各 Proxy 能互助合作,從而提供一個多點傳輸服務,並命名為 Buffer-Assisted On-Demand Multicast。在我們所設計的 Multicast 服務中,位於相同 Multicast Group 的使用者仍能夠在不同的時間存取該 Multicast Stream,因此能更進一步減少伺服器的負載。我們證明了要為使用者找出最佳傳輸路徑和緩衝空間分配是一個 NP-Complete 的問題,也針對完整連接的疊蓋式網路設計了一個最佳化 Routing 演算法,並針對一般架構的網路設計了一個 Heuristic 演算法。透過一些模擬實驗即可驗證,上述的兩個機制都能明顯減少 VOD 系統之伺服器負載與網路頻寬用量。
Proxy caching strategies, especially prefix caching and interval caching, are commonly used in video-on-demand (VOD) systems to improve both system performance and the playback experience of users. However, because these caching strategies are designed for homogeneous clients, they do not perform well in the real world where clients are heterogeneous (i.e., different available network bandwidths and different sizes of client-side buffers). This thesis investigates the problems caused by heterogeneous client-side buffers and proposes two mechanisms for performance optimization. The first mechanism is a caching strategy for minimizing the input bandwidth of individual proxy while serving heterogeneous clients. We analyze the theoretical performance of prefix caching and interval caching, and then derive cost functions to formulate the corresponding performance gains. Based on these analytical results, we propose a hybrid caching strategy that employs both prefix caching and interval caching to minimize the input bandwidth of a proxy. An optimal cache allocation algorithm is also presented to determine the best ratio of prefix caches and interval caches in a proxy. The other mechanism we proposed is cooperating proxies to construct an overlay multicast infrastructure, called Buffer-Assisted On-Demand Multicast (BAODM). In BAODM, the receivers in a multicast group can access the multicast stream asynchronously, so the server load of a VOD system can be further reduced. We prove that the time complexity to determine an optimal routing path and the corresponding buffer allocations for each request over general graph networks is NP-complete. Besides, we propose an optimal routing algorithm for fully-connected overlay networks and a heuristic routing algorithm for general graph networks, respectively. Through the simulation results, both mechanisms show that they can significantly reduce both the server load and the network bandwidth consumption of a proxy-assisted VOD system.
[1] N.L.S. da Fonseca and R.D.A. Facanha, “The Look-Ahead-Maximize-Batch Batching Policy,” IEEE Trans. Multimedia, vol. 4, no. 1, Mar. 2002, pp. 114–120.
[2] S.-H. G. Chan and F. Tobagi, “Tradeoff Between System Profit and User Delay/Loss in Providing Near Video-on-Demand Service,” IEEE Trans. Circuits and Systems for Video Technology, vol. 11, no. 8, Aug. 2001, pp. 916–927.
[3] W.-E. Poon, K.-T. Lo, and J. Feng, “Adaptive Batching Scheme for Multicast Video-on-Demand Systems,” IEEE Trans. Broadcasting, vol. 47, no. 1, Mar. 2001, pp. 66–70.
[4] S. Viswanathan and T. Imielinski, “Metropolitan Area Video-on-Demand Service Using Pyramid Broadcasting,” Multimedia Systems, vol. 4, no. 4, Aug. 1996, pp. 197–208.
[5] C.C. Aggarwal, J.L. Wolf, and P.S. Yu, “A Permutation-Based Pyramid Broadcasting Scheme for Video-on-Demand Systems,” in Proc. IEEE Int. Conf. Multimedia Computing and Systems, Jun. 1996, pp. 118–126.
[6] K. A. Hua and S. Sheu, “Skyscraper Broadcasting: A New Broadcasting Scheme for Metropolitan Video-on-Demand Systems,” in Proc. ACM SIGCOMM, Sep. 1997, pp. 89–100.
[7] L.-S. Juhn and L.-M. Tseng “Harmonic Broadcasting for Video-on-Demand Service,” IEEE Trans. Broadcasting, vol. 43, no. 3, Sep. 1997, pp. 268–271.
[8] L.-S. Juhn and L.-M. Tseng, “Fast Data Broadcasting and Receiving Scheme for Popular Video Service,” IEEE Trans. Broadcasting, vol. 44, no. 1, Mar. 1998, pp. 100–105.
[9] L.-S. Juhn and L.-M. Tseng, “Adaptive Fast Data Broadcasting Scheme for Video-on-Demand Service,” IEEE Trans. Broadcasting, vol. 44, no. 2, Jun. 1998, pp. 182–185.
[10] S. Ramesh, I. Rhee, and K. Guo, “Multicast with Cache (Mcache): An Adaptive Zero-Delay Video-on-Demand Service,” IEEE Trans. Circuits and Systems for Video Technology, vol. 11, no. 3, Mar. 2001, pp. 440–456.
[11] L. Gao, Z.L. Zhang, and D. Towsley, “Proxy-Assisted Techniques for Delivering Continuous Multimedia Streams,” IEEE/ACM Trans. Networking, vol. 11, no. 6, Dec. 2003, pp. 884–894.
[12] Y. Guo, S. Sen, and D. Towsley, “Prefix Caching Assisted Periodic Broadcast for Streaming Popular Videos,” in Proc. IEEE Int. Conf. Communications, Apr. 2002, pp. 2607–2612.
[13] P. Frossard and O. Verscheure, “Batched Patch Caching for Streaming Media,” IEEE Communications Letters, vol. 6, no. 4, Apr. 2002, pp. 159–16.
[14] S. Sen, J. Rexford, and D. Towsley, “Proxy Prefix Caching for Multimedia Streams,” in Proc. IEEE INFOCOM’99, vol. 3, Mar. 1999, pp. 1310–1319.
[15] B. Wang, S. Sen, M. Adler, and D. Towsley, “Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution,” in Proc. IEEE INFOCOM’02, vol. 3, Jun. 2002, pp. 1726–1735.
[16] C.-L. Chan, S.-Y. Huang, and J.-S. Wang, “Cooperative Cache Framework for Video Streaming Applications,” in Proc. IEEE Int. Conf. Multimedia and Expo, Jul. 2003, pp. 313–316.
[17] C.-L. Chan, T.-C. Su, S.-Y. Huang, and J.-S. Wang, “Cooperative Proxy Scheme for Large-Scale VoD Systems,” in Proc. IEEE Int. Conf. Parallel and Distributed Systems, Dec. 2002, pp. 404–409.
[18] J. Liu and J. Xu, “Proxy Caching for Media Streaming over the Internet,” IEEE Communications, vol. 42, no. 8, Aug. 2004, pp. 88–94.
[19] C.-L. Chan, S.-Y. Huang, N.-C. Lin, and J.-S. Wang, “Performance Analysis of Caching Strategies for Proxy-Assisted VOD Services,” in Proc. IEEE Int. Conf. Information Technology and Applications, Jul. 2005, pp. 387–392.
[20] W.-P. Li, “Overview of Fine Granularity Scalability in MPEG-4 Video Standard,” IEEE Trans. Circuits and Systems for Video Technology, vol. 11, no. 3, Mar. 2001, pp. 301–317.
[21] D. Wu, Y. T. Hou, W. Zhu, H.-J. Lee, T. Chiang, Y.-Q. Zhang, and H. J. Chao, “On End-to-End Architecture for Transporting MPEG-4 Video over the Internet,” IEEE Trans. Circuits and Systems for Video Technology, vol. 10, no. 6, Sep. 2000, pp. 923–941.
[22] F. Yang, Q. Zhang, W. Zhu, and Y.-Q. Zhang, “End-to-End TCP-Friendly Streaming Protocol and Bit Allocation for Scalable Video over Wireless Internet,” IEEE J. Selected Areas in Communications, vol. 22, no. 4, May 2004, pp. 777–790.
[23] T. Kim and M.H. Ammar, “Optimal Quality Adaptation for MPEG-4 Fine-Grained Scalable Video,” in Proc. INFOCOM’03, vol. 1, Apr. 2003, pp. 641–651.
[24] S. McCanne, V. Jacobson, and M. Vetterli, “Receiver-Driven Layered Multicast,” in Proc. ACM SIGCOMM, Aug. 1996, pp. 117–130.
[25] Y. Cui and K. Nahrstedt, “Layered Peer-to-Peer Streaming,” in Proc. Int. Wor. Network and Operating Systems Support for Digital Audio and Video, Jun. 2003, pp. 162–171.
[26] M. van der Schaar and H. Radha, “Adaptive Motion-Compensation Fine-Granular-Scalability (AMC-FGS) for Wireless Video,” IEEE Trans. Circuits and Systems for Video Technology, vol. 12, no. 6, Jun. 2002, pp. 360–371.
[27] T.-Q.A. Lee, S.-H.G. Chan, Q. Zhang, W.-W. Zhu, and Y.-Q. Zhang, “Allocation of Layer Bandwidths and FECs for Video Multicast over Wired and Wireless Networks,” IEEE Trans. Circuits and Systems for Video Technology, vol. 12, no. 12, Dec. 2002, pp. 1059–1070.
[28] A. Mahanti, D.L. Eager, M.K. Vernon, and D.J. Sundaram-Stukel, “Scalable On-Demand Media Streaming With Packet Loss Recovery,” IEEE/ACM Trans. Networking, vol. 11, no. 2, Apr. 2003, pp. 195–209.
[29] K. Gao, W. Gao, S. He, and Y. Zhang, “Real-Time Smoothing for Network Adaptive Video Streaming,” J. Visual Communication and Image Representation, vol. 16, no. 4–5, Aug. 2005, pp. 512–526.
[30] C.-L. Lin, H.-H. Lee, C.-L. Chan, and J.-S. Wang, “Cooperative Proxy Framework for Layered Video Streaming,” in Proc. IEEE GLOBECOM’05, vol. 1, Dec. 2005, pp. 251–255.
[31] K. A. Hua, Y. Cai, and S. Sheu, “Patching: A Multicast Technique for True Video-On-Demand Services,” in Proc. ACM Multimedia, Sep. 1998, pp. 191–200.
[32] Y. Cai, K. A. Hua, and K. Vu, “Optimizing Patching Performance,” in Proc. IS&T/SPIE Multimedia Computing and Networking Conf., Jan. 1999, pp. 204–215.
[33] M.K. Bradshaw, B. Wang, S. Sen, L. Gao, J. Kurose, P. Shenoy, and D. Towsley, “Periodic Broadcast and Patching Services - Implementation, Measurement, and Analysis in an Internet Streaming Video Testbed,” in Proc. ACM Multimedia, Sep. 2001, pp. 280–290.
[34] A. Dan and D. Sitaram, “A Generalized Interval Caching Policy for Mixed Interactive and Long Video Environments,” in Proc. IS&T SPIE Multimedia Computing and Networking Conf., Jan. 1996, pp. 344–351.
[35] E. Bommaiah, K. Guo, M. Hofmann, and S. Paul, “Design and Implementation of a Caching System for Streaming Media over the Internet,” in Proc. IEEE Real-Time Technology and Applications Sym., May 2000, pp. 111–121.
[36] K. A. Hua, S. Sheu, and J. Z. Wang, “Earthworm: A Network Memory Management Technique for Large-Scale Distributed Multimedia Applications,” in Proc. IEEE INFOCOM’97, vol. 3, Apr. 1997, pp. 990–997.
[37] S. Sheu, K. A. Hua, and W. Tavanapong, “Chaining: A Generalized Batching Technique for Video-on-Demand Systems,” in Proc. Int. Conf. Multimedia Computing and Systems, Jun. 1997, pp. 110–117.
[38] J.K. Chen and J.-L.C. Wu, “Adaptive Chaining Scheme for Distributed VOD Applications,” IEEE Trans. Broadcasting, vol. 45, no. 2, Jun. 1999, pp. 215–224.
[39] T.-C. Su, S.-Y. Huang, C.-L. Chan, and J.-S. Wang, “Optimal Chaining Scheme for Video-on-Demand Applications on Collaborative Networks,” IEEE Tran. Multimedia, vol. 7, no. 5, Oct. 2005, pp. 972–980.
[40] K.C. Almeroth and M.H. Ammar, “The Use of Multicast Delivery to Provide a Scalable and Interactive Video-on-Demand Service,” IEEE J. Selected Areas in Communications, vol. 14, no. 6, Aug. 1996, pp. 1110–1122.
[41] C.-L. Chan, S.-Y. Huang, T.-C. Su, and J.-S. Wang, “Buffer-Assisted On-Demand Multicast for VOD Applications,” accepted by Multimedia Systems, 2006.
[42] S.Q. Zhuang, B.Y. Zhao, A.D. Joseph, R.H. Katz, and J. Kubiatowicz, “Bayeux: An Architecture for Scalable and Fault-Tolerant Wide-Area Data Dissemination”, in Proc. NOSSDAV'01, Jun. 2001, pp. 11–20.
[43] M. Castro, P. Druschel, A.-M. Kermarrec, and A.I.T. Rowstron, “Scribe: A Large-Scale and Decentralized Application-Level Multicast Infrastructure,” IEEE J. Selected Areas in Communications, vol. 20, no. 8, Oct. 2002, pp. 1489–1499.
[44] D. A. Tran, K. A. Hua, and T. T. Do, “ZIGZAG: An Efficient Peer-to-Peer Scheme for Media Streaming,” in Proc. IEEE INFOCOM’03, vol. 2, Apr. 2003, pp. 1283–1292.
[45] C.-L. Chan, S.-Y. Huang, H.-H. Chen, W.-H. Tung, and J.-S. Wang, “An Application-Level Multicast Framework for Large Scale VOD Services,” in Proc. IEEE Int. Conf. Parallel and Distributed Systems, Jul. 2005, pp. 98–104.
[46] M. R. Garey and D. S. Johnson, Computers and Interactability: A Guide to Theory of NP-completeness, W.H. Freeman and Co., San Francisco, California 1979.
[47] S. Ratnasamy, S. Shenker, and I. Stoica, “Routing Algorithms for DHTs: Some Open Questions,” in Proc. Int. Wor. Peer-to-Peer Systems (IPTPS), Mar. 2002, pp. 45–52.
[48] M. Castro, P. Druschel, Y. C. Hu, and A. Rowstron, “Topology-aware Routing in Structured Peer-to-Peer Overlay Networks,” Tech. Rep. MSR-TR-2002-82, Microsoft Research, One Microsoft Way, Redmond, WA 98052, 2002.
[49] H. Wang, Y. Zhu, and Y. Hu, “To Unify Structured and Unstructured P2P Systems,” in Proc. IEEE Int. Parallel and Distributed Processing Sym., Apr. 2005, pp. 104a–104a.
[50] W. Liao and V. O.K. Li, “The Split and Merge Protocol for Interactive Video-on-Demand Systems,” IEEE Multimedia, vol. 4, no. 4, Oct.–Dec. 1997, pp. 51–62.
[51] M. Guo and M.H. Ammar, “Scalable Live Video Streaming to Cooperative Clients Using Time Shifting and Video Patching,” in Proc. INFOCOM’04, vol. 3, Mar. 2004, pp. 1501–1511.
[52] Napster, http://www.napster.com/
[53] KaZaA, http://www.kazaa.com/
[54] eDonkey, http://www.edonkey2000.com/
[55] Morpheus, http://www.musiccity.com/
[56] R. Matei, A. Iamnitchi, and P. Foster, “Mapping the Gnutella Network,” IEEE Internet Computing, vol. 6, no. 1, Jan.–Feb. 2002, pp. 50–57.
[57] S. Ratnasamy, P. Francis, M. Handley, R. Karp, and S. Shenker, “A Scalable Content-Addressable Network,” in Proc. ACM SIGCOMM, Aug. 2001, pp. 161–172.
[58] A. Rowstron and P. Druschel, “Pastry: Scalable, Distributed Object Location and Routing for Large-Scale Peer-to-Peer Systems,” in Proc. IFIP/ACM Int. Conf. Distributed Systems Platforms (Middleware), Nov. 2001, pp. 329–350.
[59] I. Stoica, R. Morris, D. Liben-Nowell, D.R. Karger, M.F. Kaashoek, F. Dabek, and H. Balakrishnan, “Chord: A Scalable Peer-to-Peer Lookup Protocol for Internet Applications,” IEEE/ACM Trans. Networking, vol. 11, no. 1, Feb. 2003, pp. 17–32.
[60] B.Y. Zhao, L. Huang, J. Stribling, S.C. Rhea, A.D. Joseph, and J.D. Kubiatowicz, “Tapestry: A Resilient Global-Scale Overlay for Service Deployment,” IEEE J. Selected Areas in Communications, vol. 22, no. 1, Jan. 2004, pp. 41–53.
[61] K. A. Hua and D. A. Tran, “Range Multicast for Video on Demand,” Multimedia Tools and Applications, vol. 27, no. 3, Dec. 2005, pp. 367–391.
[62] M. Tran, W. Tavanapong, and W. Putthividhya, “An Overlay Caching Scheme for Overlay Networks,” to appear in Multimedia Tools and Applications.
[63] S. Jin and A. Bestavros, “Cache and Relay Streaming Media Delivery for Asynchronous Clients,” in Proc. Int. Wor. Networked Group Communication, Oct. 2002.
[64] Y. Guo, K. Suh, J. Kurose, D. Towsley, “P2Cast: Peer-to-Peer Patching Scheme for VoD Service,” in Proc. Int. World Wide Web Conf., May 2003, pp. 301–309.
[65] M. Zhou and J. Liu, “Tree-Assisted Gossiping for Overlay Video Distribution,” to appear in Kluwer Multimedia Tools and Applications, 2006.
[66] C.-L. Chan, S.-Y. Huang, M. Jan, and J.-S. Wang, “Peer-to-Peer Video Delivery Scheme for Large Scale Video-on-Demand Applications,” in Proc. IEEE Int. Conf. Multimedia and Expo, Jun. 2004, pp.1043–1046.
[67] MOE Program for Promoting Academic Excellent of Universities, http://www.ccrc.nthu.edu.tw/PPAEUII/
[68] Institute for Information Industry, http://www.iii.org.tw/