Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Looking for general pointers on Apache::Session

by bopfer (Novice)
on Nov 17, 2017 at 02:27 UTC ( #1203643=note: print w/replies, xml ) Need Help??


in reply to Re: Looking for general pointers on Apache::Session
in thread Looking for general pointers on Apache::Session

Serious question... What is the general consensus on the best server(s) to run PSGI apps? I am a long time user of Apache/mod_perl and I know it's frowned upon nowadays, but it continues to be the most stable and fastest server for my Catalyst apps. I have tried Starman and uWSGI, both of which would crash or run out of memory over time. They also would report slower times for processing queries. Are there certain tweaks or optimizations that need to be done in the apps to work better under these servers? As of now, I continue to use Apache/mod_perl, but I would prefer not to be living in the past if there is a better way out there.
  • Comment on Re^2: Looking for general pointers on Apache::Session

Replies are listed 'Best First'.
Re^3: Looking for general pointers on Apache::Session
by Your Mother (Bishop) on Nov 17, 2017 at 02:52 UTC

    In my experience Starman is highly unstable. It might have been a bad combination of environment issues and older Perl but I got hangs and segfaults all the time and had to ditch it.

    uWSGI RFC:SHOULD be the best, easily. You might review the docs to see your usage is cromulent and update to the latest version for good measure. I run a couple of applications on it, not high traffic but up to many thousands of views a day, most pages dynamic, and I've never had any issues whatsoever. I've stress tested it out to high traffic levels with excellent results. It runs from server reboot to reboot without any attention. Longest stretch I've left it running is a year-ish. If you're having trouble, especially regardless of app engine, you might have a memory leak or various other problems in your Perl or things it calls beneath.

Re^3: Looking for general pointers on Apache::Session
by virtualsue (Vicar) on Nov 17, 2017 at 13:50 UTC
    I don't know what the consensus is. I've worked on projects which were deployed into production on nginx/starman and apache/starman.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1203643]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2019-12-08 02:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (162 votes). Check out past polls.

    Notices?