Hi Kyle,

> There are a few performance penalties when using Apache::Registry:
>
> * Scripts are compiled at first request instead of server start unless you
> use something like Apache::RegistryLoader.  So, the first request per
child
> will be a little bit slower and you don't get to share memory between
httpd
> children.  (Memory sharing can be a big problem.)
>
> * Every request runs through Apache::Registry::handler before your script
> gets called which has overhead including some setup code, an extra stat(),
> and a chdir().  (PerlRun and RegistryNG uses $r->finfo but Registry does
an
> extra stat() -- not sure if there's a reason for that.)

Thanks a lot.  I hadn't thought of the memory problem.  It seems that I'll
have to bite the proverbial bullet and not use Apache::Registry.

Francisco

Reply via email to