I use eventlet worker with gunicorn, but problem was that pyzmq is blocking process, i think. so i found this module <http://eventlet.net/doc/modules/zmq.html> of eventlet for pyzmq and all my problems solved! :) For pyramid + asyncio i found *aiopyramid *more intersting. but still i have to try it more! actually i prefer to learn asyncio basics and manually make one or two views in my app async. Thanks for your help.
On Thursday, December 25, 2014 5:31:29 AM UTC+3:30, Randall Leeds wrote: > > I'm totally biased because I'm a gunicorn contributor, but I'll try to > answer completely. > > With python 3 you can use asyncio, but the framework has to support it. > For that you could use https://github.com/mardiros/pyramid_asyncio > > If you'd rather write your code in traditional style, I think the master > branch of gevent may work on python 3 these days. Otherwise, eventlet > definitely does. > > Gunicorn makes it easy to use eventlet or gevent or asyncio. If you got > timeout errors it may be because you didn't use the right worker that > supports your asynchronous code. Gunicorn has a worker for gevent, > eventlet, and asyncio. > > uswgi is another popular server and I think it has gevent support, but > again there is not a released version of gevent with Python 3 support but > the master branch might. > > Ask questions if any of that doesn't make sense and I'd be happy to > clarify. > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
