DEV Community

Discussion on: Getting ready for production (Apache + uWSGI + Mojo)

Collapse
 
raigaurav profile image
Gaurav Rai • Edited

Thanks, I was unware of PSGI not supporting those😃. Even though uWSGI support websockets and async there is no point using it then. In that case normal HTTP to hypnotoad will be better. Also Nginx would be a better choice than Apache in terms of performance.
I just saw the psgi-spec but not able to finding anything related to support of those, so not sure whether it is in scope or not.

Collapse
 
grinnz profile image
Dan Book

There have been attempts to write PSGI extensions to support async but it is not widely used. The Twiggy server supports it but only for the AnyEvent loop which I would not recommend, and Mojolicious doesn't recognize this extension anyway.