FCGI::Spawn: FastCGI daemon for CGI-like applications forking

Edit Package fcgi-spawn

The overall idea is to make Perl server-side scripts as convinient for newbies and server administrators as PHP in FastCGI mode.

FCGI::Spawn is used to serve as a FastCGI process manager.
Besides the features the FCGI::ProcManager posess itself, the FCGI::Spawn is targeted as web server admin understandable instance for buil
ding the own fastcgi server with copy-on-write memory sharing among forks and with single input parameters like the limits on the number of
processes and maximum requests per fork.

Another thing to mention is that it is able to execute any file pointed by Web server ( FastCGI requester ).
So we have the daemon that is hot ready for hosting providing :-)

The definitive care is taken in FCGI::Spawn on security.
Besides the inode settings on local UNIX socket taken as input parameter, it is aware to avoid hosting users from changing the max_requests
parameter meant correspondent to MaxRequests Apache's forked MPM parameter, and the respective current requests counter value as well.

The aforementioned max_requests parameter takes also care about the performance to avoid forks' memory leaks to consume all the RAM account
ed on your hardware.

For shared hosting it is assumed that system administrator controls the process manager daemon script contents with those user hardware con
sumption limits and executes it with a user's credentials.
E. g., the user should be able to send signal to the daemon to initiate graceful restart on his/her demand ( this is yet to be done ) or ch
ange the settings those administrator can specifically allow in the daemon starter script without restart ( both of those features are abou
t to be done in the future ).

The call stack lets you set up your own code reference for your scripts execution. Also, feature exists that you can cache some object, lik
e the template or XSLT processor and the recompilation to happen only on the template or xsl file(s) change. Environment variables can be p
reserved from changing in CGI programs, too. Those features are new in 0.16.

Seeking for convention between high preformance needs that the perl compile cache possess and the convinience of debugging with recompilati
on on every request that php provides, the C feature allows you not to recompile the tested source like those of DBI and frameworks
but focus the development on your application only, limiting the recompilation with your application(s) namespace(s) only.
This may be useful in both development environment to make the recompilation yet faster and on a production host to make the details of cod
e adaptaion to hosting clear in a much less time needed.

Refresh
Refresh
Source Files
This package has no files yet
Comments 0
openSUSE Build Service is sponsored by