GIL, is a mutex that prevents multiple native threads from executing Python bytecodes at once. • Note that CPython 2.x and 3.[01] suffer from a GIL, as does PyPy 1.4.1 • CPython 3.2 still has a GIL, but it's purportedly less troublesome • Jython and IronPython have no GIL, nor any GIL-related concurrency issues • Cython has the ability to selectively release the GIL using a "with" statement fuente: http://wiki.python.org/moin/Concurrency/
toolkit de networking asincrono ◦ agrega utilidades como pooling a greenlet • hace monkey-patching sobre la lib estandar de Python ◦ transforma los modulos que bloquean I/O en procesos asincronos (corutinas)
◦ sumamente estable y performante ◦ cubre aspectos de cliente y servidor ◦ implementa muchisimos protocolos • contras: ◦ requiere codigo especifico de Twisted ◦ funciona con un "reactor" persistente
Ruby ◦ soporta diferentes backends: ▪ RabbitMQ, Redis, RDBMSs, Amazon SQS, MongoDB • se usa como servicio ◦ las tareas se schedulean desde la aplicacion ◦ se integra con el ORM para monitoreo Celery