Improving web server efficiency on commodity hardware

  1. Beltran Querol, Vicenç
Dirigida por:
  1. Jordi Torres Viñals Director/a
  2. Eduard Ayguadé Parra Director/a

Universidad de defensa: Universitat Politècnica de Catalunya (UPC)

Fecha de defensa: 03 de octubre de 2008

Tribunal:
  1. Jesús José Labarta Mancho Presidente/a
  2. Alejandro Ramírez Bellido Secretario/a
  3. Katzalin Olcoz Vocal
  4. Emilio López Zapata Vocal
  5. Anna Ripoll Aracil Vocal

Tipo: Tesis

Teseo: 275190 DIALNET

Resumen

The unstoppable growth of the World Wide Web requires a huge amount of computational resources that must be used efficiently, Nowadays, commodity hardware is the preferred platform to run web server systems because it is the most cost-effective solution. The work presented in this thesis aims to improve the efficiency of current web server systems, allowing the web servers to make the most of hardware resources. To this end, we first characterize current web server system and identify the problems that hinder web servers from providing an efficient utilization of resources. From the study of web servers in a wide range of situations and environments, we have identified two main issues that prevents web servers systems from efficiently using current hardware resources. The first is the extension of the HTTP protocol to include connection persistence and security, which dramatically impacts the performance and configuration complexity of traditional multi-threaded web servers. The second is the memory-bounded or disk-bounded nature of some web workloads that prevents the full utilization of the abundant CPU resources available on current commodity hardware. We propose two novel techniques to overcome the main problems with current web server systems. Firstly, we propose a Hybrid web server architecture which can be easily implemented in any multi-threaded web server to improve CPU utilization so as to provide better management of client connections. And secondly, we describe a main memory compression technique implemented in the Linux operating system that makes optimum use of current multiprocessor's hardware, in order to improve the performance of memory bound web applications. The thesis is supported by an exhaustive experimental evaluation that proves the effectiveness and feasibility of our proposals for current systems. It is worth noting that the main concepts behind the Hybrid architecture have recently been implemented in popular web servers like Apache, Tomcat and Glassfish.