We fetch multiple web pages in our mod_perl handler. To send concurrent requests we have been using Parallel::ForkManager. Apparently a forked environment is not recommended for using this module. See http://search.cpan.org/~szabgab/Parallel-ForkManager-1.06/lib/Parallel/ForkManager.pm#BUGS_AND_LIMITATIONS . Our findings, for concurrent requests (ab -n100 -c5) with and without this module, confirm this.

We are considering Mojolicious for non blocking page fetches. However we are not sure if that has limitations too when used within Apache's pre-forked mod_perl handler. Any arguments against using it could help us skip the migration early. Does Mojolicious's non blocking web page fetch interfere in anyway with Apache's mod_perl handlers?

Thanks

In reply to Using Mojolicious Non Blocking Page Fetch within Apache preforked mod_perl handlers by hgarg

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.