On 08/19/2014 10:39 AM, Rose, John B wrote:
Any experienced users of the external program "prg" mechanism of
Rewritemap who use a compiled binary file as opposed to interpreted
language?
Is there an appreciable performance difference on a high volume site,
even when the program is simple? Such as the *dash2under.pl *example
on the Apache documentation page?
Or if the script has a single line executing a "getent"
Using prg on a high-volume site is discouraged, as all requests will be
fed through a single instance of the prg, creating a significant
bottleneck. The dash2under.pl example is just that - an example - and
there are better ways to accomplish what it does ... as there are,
usually, better ways to accomplish things that prg can be used for.
Consider mod_lua as an alternative way to do rewritemap-ish things
--
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon