On Friday, September 11, 2015 at 2:31:30 PM UTC+2, Jan Henning Thorsen wrote: > > I don't see how uwsgi would give you anything extra. Can you explain? > > I was thinking about PSGI binary protocol; and I'm not sure if uwsgi can handle more connections per single perl worker (nginx/uwsgi combo).
> When it comes to number of connections, you should make your application > non-blocking. At work I went from 80+ workers to 8 after I changed from > blocking code to non-blocking code. The reason is that Mojo::IOLoop is able > to multiplex the database queries and the other I/O operations. > > Hypnotoad also give you the ability to hot reload -- meaning you have zero > downtime when reloading the application between upgrades. > > Thank you for sharing your experience. I guess I can leave out PSGI interface when using hypnotoad behind nginx. > > On Thursday, September 10, 2015 at 3:24:37 PM UTC+2, Matija Papec wrote: >> >> >> I'm considering these two options in terms of scalability, so which >> should I consider when number of connections and not the speed is an issue? >> >> Tia >> >> >> -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
