Den 30/12/2010 kl. 23.10 skrev Thorbjoern Ravn Andersen:

Den 30/12/10 22.33, Kevin Turner skrev:
Yes your assumption is correct (at least from my perspective).

"If so, the typical Apache solution to the overhead of CGI is to embed
the language environment in the Apache binary instead of invoking it
every time."

Where can I read more about this? It is not a technique I am familiar with.
It was pioneered by the Perl folks (who have some very ingenious hackers
because Perl attracts those), who loved writing CGI scripts in Perl but
found that the repeated invocation of the Perl interpreter to run the
scripts was a bottleneck, so they figured out how to put the Perl
interpreter inside the Apache binary.

.. this is the way PHP also makes an OK performance - the interpreter is loaded with apache - the PHP_MOD


See Wikipedia for a very brief overview:
http://en.wikipedia.org/wiki/Mod_perl

and more details here http://www.perl.com/pub/2002/02/26/whatismodperl.html

Since all this was being developed on Unix boxes the code is carefully
tuned to that platform.

--
Thorbjørn Ravn Andersen "...plus... Tubular Bells!"

--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.




As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.