On 25/01/2010, at 17:56, Vincenzo Romano wrote: > I've found some documentation () that seems to be valid for PHP only. > How can I set up the fastcgi environment for C/C++ (aka "native") > applications?
Here a library you might find handy: http://www.fastcgi.com/dist/fcgi.tar.gz > I've found something in the cherokee-admin page for the virtual servers. > Is there something else, for example, to control the number of > children processes and so on? No. The web server can not command your FastCGI application. It's up to you how you'd like your application to behave, actually. For instance, php-cgi. It launches a number of child processes based on the value of the PHP_FCGI_CHILDREN environment variable. Whether your application spawns one or a hundred worker processes (or threads) depends entirely on your needs. Independently of all those details, the server will connect to the same socket (TCP or Unix) and rely the same requests on it. The dispatching, response time and scale capabilities of your FastCGI application will be greatly influenced by those technical decisions though. Cheers, -- Octality http://www.octality.com/ _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
