Thanks to you and RonW both! I did more digging and I agree that due to Perl's blurry compile-but-I'm-going-to-run-some-stuff-too phase, this just isn't feasible.

For most of us, response time of requests is more important than server start, but I just didn't know if this could be done in case a server died randomly or some other nonsense.

Good idea. I have been looking into how to only preload the modules needed for individual team workflows, so hopefully that will be fruitful. Just didn't know if there was an "easy" shortcut.

Definitely it would be best if servers never had to be restarted, but I guess I was trying to save people time in case servers died or they suddenly someone wanted to start up a server to demo or check something

It takes 15-20 minutes to start the servers. I'll try to do some profiling and see where the hot pockets are. I know that a non-preloaded server takes more like one minute and I know that static content and Perl modules are preloaded so I figured I'd ask you guys about the Perl half and try to do the front-end part myself because it's less abstract than whatever Perl does.


In reply to Re^4: Reusing Compiled Perl or Opcode for Apache Server by mlodato
in thread [CLOSED] Reusing Compiled Perl or Opcode for Apache Server by mlodato

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.