Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: UTF-8 and PSGI/Starman vs. CGI

by stevieb (Canon)
on Mar 21, 2018 at 16:49 UTC ( #1211441=note: print w/replies, xml ) Need Help??


in reply to Re: UTF-8 and PSGI/Starman vs. CGI
in thread UTF-8 and PSGI/Starman vs. CGI

Tangent: uWSGI is a better choice than Starman.

May I request your reasoning/opinion on this? Curious as I use Starman for one of my larger projects, and haven't looked at any other options since day one as it just worked.

Replies are listed 'Best First'.
Re^3: UTF-8 and PSGI/Starman vs. CGI
by Your Mother (Archbishop) on Mar 21, 2018 at 17:14 UTC

    The controls and options are deeper and it is much more robust. Starman starts dropping requests and such under load. I suspect my problems were largely an edge case caused by legacy code and EOL'd Linux but I had nothing but straight up segfaults and mysterious socket failures pointing to ancient unconfirmed tickets trying to get Starman working at work. Here is one of many benchmarks out there. I really wanted to like Starman better. I'm gung-ho for Perl even when it's not the best option but in this case, for me at least, there was nothing at all to recommend the Perl side.

      "...Starman starts dropping requests and such under load..."

      May be, i don't know but i can imagine this. I didn't eat the wisdom with spoons but for this reason(s) it might be probably a good idea to set up nginx as a reverse proxy. It should handle the requests much better than Starman. It's a common setup.

      Just some thoughts.

      Best regards, Karl

      «The Crux of the Biscuit is the Apostrophe»

      perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

        Yep, my actual setup has nginx as a reverse proxy for normal users. I just went to bypassing nginx and talking to starman directly so that I could see whether the encoding problem was caused by nginx or not.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2022-05-22 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (80 votes). Check out past polls.

    Notices?