4 ms·
I run LedgerSMB over fcgi. Plack and Mojolicious are both good frameworks for that (I use Plack). One of the neat things you can actually do in this environme
by einhverfr 13y ago
I run LedgerSMB over fcgi. Plack and Mojolicious are both good frameworks for that (I use Plack).
One of the neat things you can actually do in this environment (we do this for old code we inherited from SQL-Ledger due to scoping issues) is preload dependencies, then when a request comes in, fork, execute, and die. This allows you to fairly easily run fcgi-unsafe code in a fcgi environment caching what you can safely cache and disregarding the rest.
This can be a big deal for improving performance of legacy cgi code.