High Performance Common Gateway Interface Invocation

  • Authors:
  • Ganesh Venkitachalam;Tzi-cker Chiueh

  • Affiliations:
  • -;-

  • Venue:
  • WIAPP '99 Proceedings of the 1999 IEEE Workshop on Internet Applications
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

As more and more Web services are delivered in the form of Common Gateway Interfaces (CGI) scripts, the efficiency at which Web servers execute CGI scripts is becoming ever more important. In this paper we show that the performance overhead associated with invoking a conventional CGI script could potentially become a bottleneck, especially for servers directly connected to high-speed network links. While existing CGI execution model runs CGI scripts as independent processes, the LibCGI architecture described in this work allows the Web server to execute CGI scripts as part of its address space. On a 100-Mbps Ethernet link and for web pages smaller than 10 KBytes, LibCGI is shown to be up to 2.3 times as fast as FastCGI, up to 4.6 times faster than the conventional CGI model. This paper describes in detail the design and evaluation of the LibCGI architecture and its prototype implementation.