Re: modpython vs modwsgi

Chema Cortes <[email protected]>
Newsgroups gmane.comp.python.general.castellano
Message-ID <[email protected]>
El día 22 de octubre de 2009 14:16, lasizoillo <[email protected]> escribió:

> Yo no sería tan valiente haciendo eso. Sobre todo si leemos la siguiente linea:
> If a module blocks, the entire application will blocks.
>
> Eso quiere decir que si haces una llamada sincrona al servidor de
> BB.DD. (lo típico), el resto de las peticiones se quedarán esperando.
> Hay posibles parches (no me atrevo a decir soluciones) para este tema
> como los proporcionados por la gente de eventlet:
> http://eventlet.net/doc/modules/db_pool.html
>
> El modulo ese puede ser una buena forma de conseguir un rendimiento
> brutal, pero también una manera sencilla de tener un nginx bloqueado.

Tengo que reconocer que no estaba al corriente del "estado del arte"
de estos temas. Aquí os pongo un extenso comentario del creador de
mod_wsgi para apache que explica con bastante profundidad éste y otros
aspectos sobre wsgi en nginx (lectura recomendable a pesar de su
extensión) :

<http://blog.dscpl.com.au/2009/05/blocking-requests-and-nginx-version-of.html>

Me quedo con el último párrafo: "So, rather than wasting time trying
to work out which system may be faster, just choose one, any one, and
get on with actually optimising your application, database and caching
systems instead. Work on those areas and you will see much more
dramatic gains than the few piddly percent difference in request
throughput you may get from using a different web hosting mechanism."
_______________________________________________
Lista de correo Python-es 
http://listas.aditel.org/listinfo/python-es
FAQ: http://listas.aditel.org/faqpyes
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.