On 2014-03-15 18:08, Roberto De Ioris wrote:

Oggi ho buttato giu' questo:


http://uwsgi-docs.readthedocs.org/en/latest/articles/OffloadingWebsocketsAndSSE.html

Grazie, me lo rileggo domani con un tasso di sangue nell'alcol più alto. Ma, domanda veloce:

"""
This is the whole point of this article: do not use the Django ORM in your gevent apps unless you know what you are doing !!! (read, you have a django database adapter that
supports gevent and does not sucks compared to the standard ones...)
"""

Con questo dici:

1. impossibile usare django+gevent+psycopg2 in maniera realmente non blocking 2. gevent+psycopg2 funzionerebbe se avesse un wrapper django diverso/migliore
3. django+gevent+psycopg2 funzionano, altri driver/database no
4. vai a letto piro, non c'hai capito niente ed è tardi

Grazie ancora :)

-- Daniele

_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a