Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

It strikes me that Byrne and Aaron might just pull this off because they really believe in themselves and they are addressing a real problem, even if they are going about it the wrong way.

The problem, as I understand it, is this: CGI is too slow and mod_perl doesn't have a simple set of configuration options to give each virtual host its own isolated copy of perl. Furthermore, whether using CGI or mod_perl, the sysadmin needs to do a lot of customization if they want to give a user an "rsh" level of access to Perl's capabilities.

Spawning a new Perl for each thread really isn't the same as a per-virtual server instance of Perl. Later versions of Apache support more than one model for the association between threads and user requests. Also many Perl apps rely on the persistence of data across multiple HTTP requests - those modules can't be run in a one-interpreter-per-request environment. The only practical solution would be writing a "traffic-cop" for Perl interpreters that detected which virtual server was handling the request and returned the correct Perl interpreter for that server.

The closest thing Perl has to "rsh"'ing a user is taint mode and some modules mentioned in the notes above this one, but neither of these really do the trick. Add-on modules aren't really a secure solution: unless you build safety features into the Perl core, it is too easy to unload a module and get back all the power of pure Perl. Taint mode isn't really designed to protect the sysadmin from the programmer. It is primarily meant to protect a skilled programmer from nasties coming from outside the program - bad user input, evil environments.

I think this is a serious problem - with the steady advance of cloud computing, solutions that play safely in mass hosting environments are going to become increasingly important. The economic model in that space is all about volume service provision.

However, I really dislike Byrne and Aaron's solution. It seems to me that enhancing Perl with shutoff valves and giving mod_perl better support for virtual servers would be a much smarter way to go.

I am way too new to the open source community to have my voice heard, but I hope maybe some reading this might be seeing things the same way and be able to push those with clout on Perl and mod_perl to think a bit about this. Aaron and Byrne's solution may be short-sighted, but their vision of the problem is not.

Best, beth

In reply to Re: What is mod_perlite? by ELISHEVA
in thread What is mod_perlite? by Scott7477

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2022-12-06 01:17 GMT
Find Nodes?
    Voting Booth?

    No recent polls found