in reply to Question on design for FastCGI
Which of these is the better approach with respect to FastCGI?
It really doesn't matter all that much, you can even have independent fcgi scripts that use modules!
Take perlmonks for example, index.pl does everything, but its really N-number of index.pl running on N-different machines -- its the same code, same module running from one script, for maximum maximum benefit from persistence (responsiveness)
The reason we use modules is they make code-reuse and testing individual functions easy
So which parts you choose to keep persistent depends on usage rates/patterns-- keep the most popular stuff persistent, keep response times low ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Question on design for FastCGI
by Anonymous Monk on Oct 16, 2012 at 13:18 UTC | |
by Anonymous Monk on Oct 17, 2012 at 00:48 UTC | |
by Anonymous Monk on Oct 17, 2012 at 16:04 UTC | |
by Anonymous Monk on Oct 18, 2012 at 05:18 UTC | |
by Anonymous Monk on Oct 18, 2012 at 14:03 UTC |