in reply to Unable to preload Data::Dumper with mod_perl
I'm sorry to hijack the thread but since Corion already gave a great answer I want to inject what I consider important context for newcomers to Perl webwork who read a glowing endorsement of modperl on the cusp of 2018.
“Apache is like Microsoft Word. It has a million options but you only need six. NGINX does those six things, and it does five of them 50 times faster than Apache.” — Chris Lea
modperl is somewhat analogous to CGI at this point. It was the cat's meow in its day but really shouldn't be used on new work unless you have a compelling reason; i.e. an Apache hook that is impossible to implement in another webserver. My context, I'm no hater: I used modperl personally for years and I still use it at work—and like it—but only because the codebase is from the 90s.
I argue that Perl best practice today—and for a few years now—is nginx with uWSGI as the Perl application server. Excepting the edge cases modperl affords where direct interaction with the webserver is necessary, this new deployment combination is better in every single way.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Unable to preload Data::Dumper with mod_perl
by nysus (Parson) on Dec 04, 2017 at 19:35 UTC | |
by Your Mother (Archbishop) on Dec 04, 2017 at 23:39 UTC | |
|
Re^2: Unable to preload Data::Dumper with mod_perl
by nysus (Parson) on Dec 04, 2017 at 20:39 UTC |