Re: Single PerlResponseHander for Web Application

Perrin Harkins <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CAC0_be0P7w-hZj95-GeAmRaEzaGvwWNzYSjz8SpLSzsyWTFkjA@mail.gmail.com>
On Tue, Jul 19, 2011 at 2:02 PM, Jerry Pereira <[email protected]> wrote:
> Thats right, i was thinking of avoiding restarts and having single place for
> mapping URIs to classes.

You can get that to some degree if you use Apache2::Reload and avoid
doing anything too strange in your code.  The thing is, your best
defense against memory bloat is copy-on-write, and that will get
crushed if you do a lot of reloading code without a restart.  Maybe
not an issue for you, depending on how big your site is.

- Perrin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.