Configuration Matrix
Web Server API
| Web Server API |
Web Server Support |
Recommendation |
| CGI |
Most of Web Servers |
Not recommended performance purposes |
| FastCGI |
Most of popular UNIX web servers (Apache, Ligttpd, nginex). Some web servers like nginex require external application start-up |
Recommended API |
| SCGI |
Very limited: Apache, Lighttpd (more?). Implementations usually poor* | Recommended only if FastCGI not available |
*) Apache do not support external spawning and works over TCP socket only, Lighttpd implementation buggy.
Worker Models
| Mode |
API |
Cache Support |
Recommendations |
| single process | FastCGI, SCGI, CGI | tcp |
Recommended when web server controls process spawning. |
| thread pool | FastCGI, SCGI | tcp, threaded |
Recommended for best performance. Using threaded cache requires execution of single process. Dangerous for memory leaks and crashes |
| prefork | FastCGI, SCGI | tcp, fork |
Recommended for best safety, it may be somehow slower then threaded. Using fork cache requires execution of single "parent" process. Best for creating very stable applications |
Pages
Categories
Development
Powered By
-
Fast CGI
— High Performance Platform Independent Web Server API
-
Boost
— High Quality C++ Libraries
-
GNU CgiCC
— CGI C++ Library
-
LibDBI
— a database independent abstraction layer
3rd Party