Wow. Yeah. That scenario of 100 users hitting together...honestly, I haven't 
thought much about it. Would using celery help me overcome this problem? 

> On 01-Jun-2018, at 4:33 PM, Jason <jjohns98...@gmail.com> wrote:
> 
> you can with celery, just make a view that checks the task ID of the task and 
> if its PENDING, return 'waiting', which would be used by your browser.
> 
> also consider the fact that servers will require you to specifically override 
> the connection timeout setting.  with finite numbers of connections the 
> server has, imagine if 100 users hit your server for tasks and have to wait 
> 15 minutes.  your original method won't scale at all beyond a handful of 
> users.
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/a087bbd2-bde4-4740-838a-e7d870dcf6e1%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/147E8DE4-BA93-466E-BB1A-AF022A4225E1%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to