Hacker News new | ask | show | jobs
by gabrielgrant 5201 days ago
I know Quora hired Alex Gaynor to move them to PyPy last summer. Is anyone else actually using non-CPython 2.x in the real world?
1 comments

I've run one-off internal tasks with it, but for production, our CPU load on CPython is still low enough I can chant "it ain't broke" and do other things.

I have tested our codebase on it to make sure we can deploy if we need to, though.

Did you have any issues running it on PyPy? I know when I tried to run it, I had an issue with one of my requirements not being supported under PyPy.
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.
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?