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 条
  • [41] A template-based baseball video scene classification using efficient playfield segmentation
    Chung-Ming Kuo
    Wei-Han Chang
    Min-Yuan Fang
    Ching-Hsuan Lin
    [J]. Multimedia Tools and Applications, 2011, 55 : 399 - 422
  • [42] Template-based scene classification for baseball videos using efficient playfield segmentation
    Chang, Wei-Han
    Yang, Nai-Chung
    Kuo, Chung-Ming
    Lin, Ching-Hsuan
    [J]. 2007 THIRD INTERNATIONAL CONFERENCE ON INTELLIGENT INFORMATION HIDING AND MULTIMEDIA SIGNAL PROCESSING, VOL II, PROCEEDINGS, 2007, : 543 - 546
  • [43] A Template-based Methodology for Efficient Microprocessor and FPGA Accelerator Co-Design
    Kritikakou, Angeliki
    Catthoor, Francky
    Athanasiou, George S.
    Kelefouras, Vasilios
    Goutis, Costas
    [J]. 2012 INTERNATIONAL CONFERENCE ON EMBEDDED COMPUTER SYSTEMS (SAMOS): ARCHITECTURES, MODELING AND SIMULATION, 2012, : 15 - 22
  • [44] A template-based baseball video scene classification using efficient playfield segmentation
    Kuo, Chung-Ming
    Chang, Wei-Han
    Fang, Min-Yuan
    Lin, Ching-Hsuan
    [J]. MULTIMEDIA TOOLS AND APPLICATIONS, 2011, 55 (03) : 399 - 422
  • [45] An Efficient DCT template-based Object Detection Method using Phase Correlation
    Hoerhan, Markus
    Eidenberger, Horst
    [J]. 2016 50TH ASILOMAR CONFERENCE ON SIGNALS, SYSTEMS AND COMPUTERS, 2016, : 444 - 448
  • [46] A template-based algorithm by geometric means for the automatic and efficient recognition of music chords
    Rubén Hernández
    Antonio Guerrero
    Jorge E. Macías-Díaz
    [J]. Evolutionary Intelligence, 2024, 17 : 467 - 481
  • [47] Efficient constraint extraction for template-based processor self-test generation
    Kambe, K
    Iwagaki, T
    Inoue, M
    Fujiwara, H
    [J]. 14TH ASIAN TEST SYMPOSIUM, PROCEEDINGS, 2005, : 444 - 447
  • [48] POSTERIOR FEATURES FOR TEMPLATE-BASED ASR
    Soldo, Serena
    Magimai-Doss, Mathew
    Pinto, Joel
    Bourlard, Herve
    [J]. 2011 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING, 2011, : 4864 - 4867
  • [49] Template-based prediction of protein function
    Petrey, Donald
    Chen, T. Scott
    Deng, Lei
    Garzon, Jose Ignacio
    Hwang, Howook
    Lasso, Gorka
    Lee, Hunjoong
    Silkov, Antonina
    Honig, Barry
    [J]. CURRENT OPINION IN STRUCTURAL BIOLOGY, 2015, 32 : 33 - 38
  • [50] A template-based paint manufacturing simulation
    Dronzek, R
    Trandum, NJ
    [J]. INDUSTRIAL ENGINEERING SOLUTIONS '99 CONFERENCE, PROCEEDINGS, 1999, : 167 - 169