跳到主要內容

簡易檢索 / 詳目顯示

研究生: 周裕傑
Yu-Chieh Chou
論文名稱: 使用可信任的快取及網路感知來加速行動設備瀏覽網頁
TCM: Accelerating Mobile Page Loads Using Trusted Cache and Network-Aware Compaction
指導教授: 張貴雲
口試委員:
學位類別: 碩士
Master
系所名稱: 資訊電機學院 - 資訊工程學系在職專班
Executive Master of Computer Science & Information Engineering
論文出版年: 2019
畢業學年度: 107
語文別: 中文
論文頁數: 48
中文關鍵詞: 網路感知Server PushServer HintsInlineCacheTPM
外文關鍵詞: Network-Aware, Server Push, Server Hints, Inline, Cache, TPM
相關次數: 點閱:12下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 現在行動設備瀏覽網頁的流量已經正式超過桌上型電腦,然而在行動設備上瀏覽
    網頁的速度緩慢,讓使用者感到沮喪,並損害了網站提供商的收入。我們提出了一種
    可信任的快取模組框架(Trusted Cache Module; TCM),能夠在標準的商業化瀏覽器上,
    根據用戶端的網路條件來動態的壓縮影像資源,並使用 HTTP/2 的伺服器推送(Server
    Push)機制,將壓縮後的影像資源檔案推送給瀏覽器。我們的網站伺服器會使用資源嵌
    入(Inline)機制,儘量的減少用戶端請求資源的數量,並且能保有資源嵌入後的可快取
    性,同時,我們針對已被快取的資源檔案,使用透過硬體保護的安全驗證機制,提供
    了比標準商業化瀏覽器更安全的資料完整性驗證。
    我們在實際的商業化新聞網站和實體的行動設備上的實驗結果表明,TCM 將平均
    的網頁載入時間減少了 26%、能源消耗減少了 15%、頻寬成本減少了 18%。


    Mobile browsing now generates more HTTP traffic than desktop browsing, however,
    the existing slowness of the web on mobile devices frustrates users and hurts the revenue of
    website providers. We propose a Trusted Cache Module(TCM) framework that dynamically
    compresses image resources based on the client's network conditions on a standard browser
    and uses the HTTP/2 push, the compress image resource file is pushed to the browser. Our
    web server to inline the page’s JavaScript and CSS files, and to minimize the number of
    HTTP requests needed to fetch the constituent resources, and can provide cacheability for
    inline resources. We use hardware-protected security authentication mechanism for cached
    resource files, and provides more secure data integrity verification than standard browsers.
    Experiments with real news pages and real phones show that TCM reduces median
    page load time by 26%, energy expenditure by 15%, and bandwidth costs by 18%.

    中文摘要.....................................................................................................................................i Abstract.......................................................................................................................................ii Contents.....................................................................................................................................iii List of Figures.............................................................................................................................v List of Tables .............................................................................................................................vi 1 緒論........................................................................................................................................1 2 研究背景................................................................................................................................4 2.1 網頁的組成.................................................................................................................4 2.2 網頁的載入過程.........................................................................................................4 2.3 資源之間的相依性.....................................................................................................7 2.4 資源相依性的解決方案...........................................................................................10 2.5 網頁快取的安全性...................................................................................................12 3 相關研究..............................................................................................................................14 3.1 基於伺服器推送的解決方案...................................................................................14 3.2 基於伺服器排程的解決方案...................................................................................14 3.3 基於代理(Proxy)壓縮的解決方案...........................................................................15 3.4 基於快取的解決方案...............................................................................................16 4 設計 TCM ............................................................................................................................17 4.1 資源嵌入(Inline)的儲存機制...................................................................................18 4.2 資源檔案的完整性驗證...........................................................................................19 4.2.1 桌上型電腦的資源檔案完整性驗證機制....................................................19 4.2.2 行動設備的資源檔案完整性驗證機制........................................................20 4.3 伺服器解析資源之間的相依性...............................................................................21 iv 4.3.1 內部網域資源................................................................................................22 4.3.2 外部網域資源................................................................................................23 4.4 用戶端調度程式(Scheduler).....................................................................................23 4.5 伺服器網路條件感知...............................................................................................25 4.6 TCM 框架與相關研究的比較...................................................................................26 5 實驗......................................................................................................................................28 5.1 實驗環境設置...........................................................................................................28 5.2 實驗...........................................................................................................................28 6 結論......................................................................................................................................33 Bibliography.............................................................................................................................34

    [1] J. Chernofsky, “Why emerging markets are dominating mobile browsing”,
    https://goo.gl/GvuLFe, April 7, 2016. GSMA Intelligence. Global Mobile Trends 2017.
    [2] F. Qian, S. Sen, and O. Spatscheck, “Characterizing Resource Usage for Mobile Web
    Browsing”, In Mobisys, 2014.
    [3] M. Butkiewicz, H. V. Madhyastha, and V. Sekar, “Understanding website complexity:
    measurements, metrics, and implications”, In Proceedings of the SIGCOMM conference on
    Internet Measurement Conference (IMC), 2011.
    [4] AKAMAI TECHNOLOGIES, “Akamai Reveals 2 Seconds as the New Threshold of
    Acceptability for eCommerce Web Page Response Times”, September 14 2009
    [5] N. Bhatti, A. Bouch, and A. Kuchinsky, “Integrating User-perceived Quality into Web
    Server Design”, In Proceedings of World Wide Web Conference on Computer Networks: The
    International Journal of Computer and Telecommunications Networking, 2000.
    [6] X. S. Wang, A. Balasubramanian, A. Krishnamurthy, and D. Wetherall, “Demystifying
    page load performance with WProf”, In Proceedings of the USENIX conference on
    Networked Systems Design and Implementation (NSDI), 2013.
    [7] Apache module for rewriting web pages to reduce latency and bandwidth.
    http://www.modpagespeed.com/.
    [8] E. Lawrence, “Internet Explorer 9 network performance improvements”, Mar.2011.
    http://blogs.msdn.com/b/ie/archive/2011/03/17/internetexplorer-9-network-performanceimp
    rovements.aspx.
    [9] I. Grigorik, “Chrome networking: DNS prefetch & TCP preconnect”, June 2012.
    http://www.igvita.com/2012/06/04/chrome-networking-dns-prefetchand-tcp-preconnect/.
    35
    [10] S. Radhakrishnan, Y. Cheng, J. Chu, A. Jain, and B. Raghavan, “TCP Fast Open”, In
    Proceedings of the International Conference on emerging Networking EXperiments and
    Technologies (CoNEXT), 2011.
    [11] Spdy. http://dev.chromium.org/spdy.
    [12] Adam Langley, Alistair Riddoch, Alyssa Wilk, “The QUIC Transport Protocol: Design
    and Internet-Scale Deployment”, In Proceedings of Conference of the ACM Special Interest
    Group on Data Communication (SIGCOMM), 2017
    [13] HTTP/3. https://www.zdnet.com/article/http-over-quic-to-be-renamed-http3/
    [14] HTTP/2. https://http2.github.io/.
    [15] Sanae Rosen, Bo Han, Shuai Hao, ”Push or Request: An Investigation of HTTP/2
    Server Push for Improving Mobile Performance”, In Proceedings of the 26th International
    Conference on World Wide Web (WWW), 2017.
    [16] KRISTOL, D., AND MONTULLI, L, “HTTP State Management Mechanism. RFC
    2109 (Draft Standard)”, February 1997.
    [17] W3C HTML 5 Web Storage. https://www.w3schools.com/html/html5_webstorage.asp
    [18] HTTrack Website Copier. https://www.httrack.com/.
    [19] R. Netravali and J. Mickens, “Prophecy: Accelerating mobile page loads using
    final-state write logs”, In Proceedings of the USENIX conference on Networked Systems
    Design and Implementation (NSDI), 2018.
    [20] V. Ruamviboonsuk, R. Netravali, M. Uluyol, and H. V. Madhyastha, “Vroom:
    Accelerating the Mobile Web with Server-Aided Dependency Resolution”, In Proceedings
    of the Conference of the ACM Special Interest Group on Data Communication, SIGCOMM.
    ACM, 2017.
    [21] Ravi Netravali, Ameesh Goyal, James Mickens, and Hari Balakrishnan, “Polaris:
    Faster Page Loads Using Fine-grained Dependency Tracking”, In Proceedings of the
    USENIX conference on Networked Systems Design and Implementation (NSDI), 2016.
    [22] Bo Han, Shuai Hao, and Feng Qian, “MetaPush: Cellular-Friendly Server Push For
    HTTP/2”, In Proceedings of AllThingsCellular,2015
    36
    [23] Ali Raza, Yasir Zaki, Thomas Pötsch, Jay Chen, and Lakshmi Subramanian, “Extreme
    Web Caching for Faster Web Browsing”, In Proceedings of the Conference of the ACM
    Special Interest Group on Data Communication, SIGCOMM. ACM, 2015.
    [24] Shailendra Singh, Harsha V. Madhyastha, Srikanth V. Krishnamurthy, and Ramesh
    Govindan, “FlexiWeb: Network-Aware Compaction for Accelerating Mobile Web
    Transfers”, In Proceedings of the 21st Annual International Conference on Mobile
    Computing and Networking, MobiCom, 2015
    [25] Victor Agababov, Michael Buettner, Victor Chudnovsky, "Flywheel: Google’s Data
    Compression Proxy for the Mobile Web", In Proceedings of the USENIX conference on
    Networked Systems Design and Implementation (NSDI), 2015.
    [26] Zhen Wang, Felix Xiaozhu Lin, Lin Zhong, and Mansoor Chishtie, “How far can
    client-only solutions go for mobile browser speed?”, In Proceedings of the 21st
    international conference on World Wide Web (WWW), 2012
    [27] J. Mickens, “Silo: Exploiting JavaScript and DOM Storage for Faster Page Loads”, In
    Proceedings of WebApps, 2010.
    [28] WebP: A New Image Format For The Web. http://developers.google.com/speed/webp/.
    [29] Microsoft.TSS. https://github.com/microsoft/TSS.MSR
    [30] Category: OWASP Top Ten Project. https://www.owasp.org/index.php/Category:
    OWASP_Top_Ten_Project

    QR CODE
    :::