Browse > Article

An Efficient CGI Gateway in the UNIX System  

이형봉 (호남대학교 정보통신공학부)
Abstract
To get changing data or retrieved information in a web service environment, we need the CGI method in which we designate an executable file and receive the output of the executable file as a document. But the original CGI method has some performance pitfalls caused by the native condition that a process for the requested executable file should be created every time it is requested. Several approaches that make the process as a daemon wholly or partly have been made to solve those problems and they have exclusive strength and weakness. So, many developers are confused when they have to choose which of the CGI methods. We proposed an efficient CGI gateway design called SendFD that the main part of CGI gateway was separated as a daemon and taken over the communication channel by the other small part forked whenever it was requested. Then we testified the efficiency of SendFD styled CGI gateway in real web service environment and it showed about 3% performance improvement compared to the conventional socket pipe method.
Keywords
CGI; FastCGI; socket pipe; SendFD; HTTP;
Citations & Related Records
Times Cited By KSCI : 3  (Citation Analysis)
연도 인용수 순위
1 W. R. Steven, Advanced Programming in the $UNIX{\circledR}$ Environment, Addison Wesley, p.479, 1992
2 RFC1521, RFC2522, 'MIME(Multipurpose Internet Mail Extension),' ftp://ftp.rfc-editor.org/in-notes/rfc1521.txt
3 World Wide Web Consortium, 'CGI: Common Gate way Interface,' http://www.w3.org/hypertext/wwwCGI
4 A. Iyengar, E. Nahum, A. Shaikh and R. Tewari, 'Enhancing Web Performance,' IPIP World Computer Congress, Montreal, Canada, 2002
5 P. Joubert, Robert B. King, Rich Neves and Mark Russinovich, John M.Tracey, 'High-Performance Memory-Based Web Servers: Kernel and User-space Performance,' Proceedings of the USENIX Annual Technical Conference, Boston, MA, 2001
6 World Wide Web Consortium, 'HTTP-Hypertext Transfer Protocol,' http://www.w3.org/protocols/.
7 정진국, 낭종호, 박성용, '다중 처리기 기반 웹 서버 구조의 실험적 성능 분석', 정보과학회 논문지: 정보통신 제28권 제1호, pp.22-36, 2001   과학기술학회마을
8 M.N. Mills III, L.Krueger, W.Chiu, N.Halim, J.L.Hellerstein and M.S.Squillante, 'Metrics for Performance Tuing of Web-Based Appli cations,' The computer Measurement Group, 2000
9 E. Nahum, T. Barzilai and D. Kandlur, 'Performance Issues in WWW Servers,' IEEE/ACM Transactions on Networking, 10(2):2-11, 2002   DOI   ScienceOn
10 James C. Hu, S. Mungee and D. C. Schmidt, 'Techniques for Developing and Measuring High Performance Web servers over High Speed Networks,' Inforcom'98, 1998   DOI
11 Open Market, 'FastCGI,' http://www.fastcgi.com
12 A. Iyengar, J. Challenger, D. Dias and P. Dantzig, 'High-Performance Web Site Design Techniques,' IEEE Internet Computing, 4(2), 2000   DOI   ScienceOn
13 김수정, 백승구, 김종근, '웹 정보시스템의 서비스 성능 향상을 위한 부하균형 모델 제안', 정보처리학회 논문지 제6권 제11호, pp.3179-3189, 1999   과학기술학회마을
14 U. Vahalia, UNIX Internals-the new frontiers, Prentice Hall, p.241, 1996
15 이기용, 곽태영, 서정현, 김명호, '대규모 온라인 검색요구를 효율적으로 처리하기 위한 KRISTAL-II 웹 게이트웨이의 설계 및 구현', 정보과학회논문지:컴퓨팅의 실제 제6권 제5호, pp.496-504, 2000   과학기술학회마을
16 Oracle Education Part, Oracle8 Administra tion Volume 1, Oracle Press, p.1-8, 1998