News for hackers. Stuff that matters.
Re:Gevent 0.13.0 released - coroutine network library for Py... by kevingadd on Wednesday July 14, 2010 @05:37PM (#1516041)
I pity anyone who has to debug problems caused by monkeypatching the socket module... I wish people would stop trying to solve problems with monkeypatching in python. There are better solutions. Cool idea other than that, though.

Does anyone know of any large-scale projects using this library? It would be interesting to see how it performs in the real world - not needing to use OS threads means that maybe you won't have as much trouble with the GIL, but on the other hand, operations like socket.read() are supposed to release the GIL while they block anyway.

Re:Gevent 0.13.0 released - coroutine network library for Py... by cgbystrom on Wednesday July 14, 2010 @07:42PM (#1516345)
Well, you can either monkey patch the socket module OR do the callback hell + completely alienate you from the Python ecosystem.

I'm not saying these are perfect solutions. But gevent with greenlet addresses the problem at the right level. Making developers care about asynchronous I/O only when they need it. Not the other way around as with many other async/event based frameworks.

We're actually using it for our real-time web framework Planet (http://www.esn.me) and our cloud-hosted WebSocket service, Beacon (http://beaconpush.com). So far, so good!

Re:Gevent 0.13.0 released - coroutine network library for Py... by denik on Wednesday July 14, 2010 @05:46PM (#1516066)
Monkey patching is not mandatory. 3rd party modules can be "ported" to gevent manually as well. It's a matter of preference probably. Would like to know what better solutions you have in mind.

not sure if counts as large-scale but omegle.com uses gevent. 9257 users online currently.