2015-02-28 22:05 GMT+01:00 Ram Rachum <r...@rachum.com>: > Here is what I'm currently thinking about: Can we make Django do multiple > separate queries (SQL queries are separated by a semicolon right? Sorry for > being a noob) and send them one after another before blocking on reading > any of them? Only then when everything is sent, start reading and > populating querysets. *Is this possible to do with Django?*
The general problem here isn't specific to Django. You want to parallelize some blocking tasks. The easiest solution is to run them in a thread pool. The interface to the database isn't the right level for solving this problem. I think you should tackle it at a higher level. -- Aymeric. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CANE-7mXG%3Dp6qDnGKSknr%2BKb0x8-mKdJS7yy8yFhtFiu3H%2Br-dw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.