Stas Bekman <[EMAIL PROTECTED]> writes:

> But adds an additional stat() call for each request, which might be not
> desired for "some" sites... I know it's quite fast. See:
> 
>http://thingy.kcilink.com/modperlguide/performance/Reducing_the_Number_of_stat_Ca.html
> 
> But, yeah it's cool!

In practice I find that stat calls are a minor performance factor when
compared with database calls so for any fairly dynamic site it's not a big
factor.

However, perhaps a better tradeoff for a production site would be to perform
these stat calls in the parent just before a graceful restart. Then to force
rereading the library files without any downtime the you would just do a
graceful restart, which would recompile all the .pm files and then start
spawning new children with optimal shared memory behaviour:)

I believe Apache::ASP's internal mechanism is capable of this now. 

-- 
greg

Reply via email to