Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: Speeding up Apache RewriteMap script.

by graq (Curate)
on Apr 25, 2007 at 13:42 UTC ( #612010=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Speeding up Apache RewriteMap script.
in thread Speeding up Apache RewriteMap script.

Apologies for not being clear.

Apache opens the script and holds it open for its lifetime. RewriteMap writes to it (hence the while(<STDIN>){..} loop) and waits for output from STDOUT.

For every such mapping (read: every http request), the lookup method is called. I assumed that that is where the main speed up could be attained.

Although I'm not sure how moot this is with merlyn's reply in play

-=( Graq )=-


Comment on Re^4: Speeding up Apache RewriteMap script.
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://612010]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2014-10-31 13:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (217 votes), past polls