Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl
mod_perl without persistent interpreter state?
 

Index | Next | Previous | View Flat


pbdgny at gmail

Dec 18, 2005, 11:30 AM


Views: 3621
Permalink
mod_perl without persistent interpreter state?

Hello,

When last I checked, mod_perl is not that great for a shared hosting
environment. Now I see that v.2 has accommodations for Apache vhosts, but
it still looks like each site needs it's own full blown Perl interpreter
sucking down memory.

Is there a way to configure mod_perl to act more like mod_php in that each
request gets a "fresh" interpreter to work in?

I did a cursory search of the mailing lists, but did not find anything.

This way you avoid the standard CGI setup/tear-down cycle while still
providing a way for many mutually distrustful Perl applications to coexist
on the same server. (i.e shared webhosting)

Additional performance boosts could come via:

1) Caching pre-parsed Perl "byte code" to disk/memory.
2) Provide a simple method for apps to "self-cache" in an initialized state
after the first request.

Can this be done currently, and if not, does anyone else think it a good
idea?

Thanks,
David

Subject User Time
mod_perl without persistent interpreter state? pbdgny at gmail Dec 18, 2005, 11:30 AM
    Re: mod_perl without persistent interpreter state? mjhlist-modperl at liminalflux Dec 18, 2005, 12:07 PM
    Re: mod_perl without persistent interpreter state? perrin at elem Dec 18, 2005, 9:19 PM
        Re: mod_perl without persistent interpreter state? pbdgny at gmail Dec 22, 2005, 8:44 PM
    Re: mod_perl without persistent interpreter state? jon at 2xlp Dec 22, 2005, 10:10 PM
        Re: mod_perl without persistent interpreter state? pbdgny at gmail Dec 22, 2005, 11:49 PM
    Re: mod_perl without persistent interpreter state? perrin at elem Dec 23, 2005, 8:40 AM
    Re: mod_perl without persistent interpreter state? perrin at elem Dec 23, 2005, 9:59 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.