Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: [mp2] ideas for pre-loading modules before server startup?: msg#00250

apache.mod-perl.devel

Subject: Re: [mp2] ideas for pre-loading modules before server startup?

On Thu, 15 Jul 2004, Stas Bekman wrote:

> Stas Bekman wrote:
> > I see, that Philippe has found a nice trick to load Apache::PerlSections
> > at the server startup, w/o actually doing that explicitly. He deployed
> > the handlers automatic autoloading. Though this trick doesn't work for
> > other things. I want to move the pre-loading of APR::Error to the the
> > internals of mp2, but since it may reside in the Apache2/ subdir, we
> > can't try loading it, before a user loads Apache2.pm. Which may not
> > happen at all. And we may need to load other modules in the future as
> > well (e.g. things that we discussed before - load Apache::RequestRec
> > before handing user $r).
> >
> > We can't force on user loading Apache2, since he may want to adjust
> > @INC, before Apache2.pm is loaded.
> >
> > I thought that moving APR/* packages out of Apache2/ will solve that
> > problem, removing the dependancy on Apache2.pm, but as Joe suggested
> > it's probably not the best approach, due to versioning...
> >
> > So if you have ideas how to resolve that issue, I'm all ears.
>
> So any ideas? We need to preload APR::Error to start with.

I'm sure I don't appreciate all the issues involved, but
just to backtrack a moment - for the particular case of
APR::Error, what is that latest point at which it should be
loaded? For example, would it be enough to load APR::Error
when other modules are loaded (within an XSLoader,
perhaps?). Or is this too late? Or not possible?

--
best regards,
randy


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation