5 ms·
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?
by gabrielgrant 15y 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?
- nknight 15y agoI'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.
- KenCochrane 15y agoDid 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.
- nknight 15y agoWe 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.
- KenCochrane 15y agoWhat 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.
- nknight 15y agoNow 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.
- Lexarius 15y agoI 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?