Hacker News new | ask | show | jobs
by nknight 5201 days ago
We have an indirect, semi-optional, largely accidental dependency on eventlet/gevent which won't work in PyPy, but it's easy to just rip out if we go to production with PyPy. We should rip it out anyway, but there's no reason to spend the two hours on it right now.
2 comments

What would you deploy with? I have gotten it to work with Gunicorn, but if you can't use eventlet/gevent, that doesn't look like a great option. sync mode works aright, but not as good as async mode.
Now that I know about Gunicorn (thanks!) I might deploy with that. I was just going to use multiprocessing + wsgiref.

We don't get significant benefits from async with our current codebase and load characteristics -- like I said, the dependency was accidental.

I don't know about eventlet, but gevent appears to be working in pypy (for some trivial example code from the gevent page).

Have you tried your application since greenlet got built-in to pypy stable?