Efficient Resource Management on Template-based Web Servers

被引:0
|
作者
Courtwright, Eli [1 ]
Yue, Chuan [1 ]
Wang, Haining [1 ]
机构
[1] Coll William & Mary, Dept Comp Sci, Williamsburg, VA 23187 USA
关键词
Web Server; Resource Management; Templates; Performance; Request Scheduling;
D O I
10.1109/DSN.2009.5270329
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The most commonly used request processing model in multithreaded web serves is thread-per-request, in which an. individual thread is bound to serve each web request. However, with the prevalence of using template techniques for generating dynamic contents in modern web servers, this conventional request processing model lags behind and cannot provide efficient resource management support for template-based web applications. More precisely; although content code and presentation code of a template-based dynamic web page can be separated into different files, they are still processed by the same thread. As a result, web server resources, especially database connection resources, cannot be efficiently shared and utilized. In this paper, we propose a new request scheduling method, in which a single web request is served by different threads in multiple thread pools for parsing request headers, performing database queries, and rendering templates. The proposed scheme ensures the high utilization of the precious database connections, while templates are being rendered or static contents are being served. We implemented the proposed scheme in CherryPy; a representative template-enabled multithreaded web server, and we evaluated its performance using the standard TPC-W benchmark implemented with the Django web templates. Our evaluation demonstrates that the proposed scheme reduces the average response times of most web pages by two orders of magnitude and increases the overall web server throughput by 31.3% under heavy loads.
引用
收藏
页码:249 / 258
页数:10
相关论文
共 50 条
  • [1] Context- and Template-Based Compression for Efficient Management of Data Models in Resource-Constrained Systems
    Berzosa Macho, Jorge
    Gardeazabal Monton, Luis
    Cortinas Rodriguez, Roberto
    [J]. SENSORS, 2017, 17 (08):
  • [2] A template-based code generator for web applications
    Uyanik, Burak
    Sahin, Veysel Harun
    [J]. TURKISH JOURNAL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCES, 2020, 28 (03) : 1747 - 1762
  • [3] Computationally Efficient Template-Based Face Recognition
    Wu, Yue
    AdbAlmageed, Wael
    Rawls, Stephen
    Natarajan, Prem
    [J]. 2016 23RD INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR), 2016, : 1424 - 1429
  • [4] Template-based Web interface description for Smart Space
    Shan, Liqun
    Liu, Xingbin
    Xie, Ronghua
    Liu, Yanchang
    [J]. 2012 2ND INTERNATIONAL CONFERENCE ON APPLIED ROBOTICS FOR THE POWER INDUSTRY (CARPI), 2012, : 1075 - 1078
  • [5] A template-based markup tool for semantic web content
    Kettler, B
    Starz, J
    Miller, W
    Haglich, P
    [J]. SEMANTIC WEB - ISWC 2005, PROCEEDINGS, 2005, 3729 : 446 - 460
  • [6] Accessibility summarization & simplification in a template-based web transcoder
    Parmanto, Bambang
    Saptono, Andi
    Ferrydiansyah, Reza
    Song, Lijing
    Sugiantara, Iwayan
    Hackett, Stephanie
    [J]. JOURNAL OF WEB ENGINEERING, 2006, 5 (04): : 348 - 366
  • [7] Resource-based caching for Web servers
    Tewari, R
    Vin, HM
    Dan, A
    Sitaram, D
    [J]. MULTIMEDIA COMPUTING AND NETWORKING 1998, 1997, 3310 : 191 - 204
  • [8] A Template-Based Policy Generation Interface for RESTful Web Services
    Raschke, Philip
    Zickau, Sebastian
    [J]. ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS: OTM 2014 WORKSHOPS, 2014, 8842 : 137 - 153
  • [9] Template-Based Question Answering System Over the Semantic Web
    Dhandapani, Aarthi
    Vadivel, Viswanathan
    [J]. INTERNATIONAL JOURNAL OF INFORMATION RETRIEVAL RESEARCH, 2022, 12 (02)
  • [10] Scalable resource management for high-performance Web servers
    Hasegawa, G
    Terai, T
    Okamoto, T
    Murata, M
    [J]. INTERNATIONAL JOURNAL OF COMMUNICATION SYSTEMS, 2004, 17 (05) : 389 - 406