4 ms·
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 perfe
by cgbystrom 16y ago
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 http://www.esn.me) and our cloud-hosted WebSocket service, Beacon (http://beaconpush.com http://beaconpush.com).
So far, so good!