On 08/30/10 10:09, dave b wrote:
well you finish the tutorial(s) now and then you try to upload
a file right? So you start uploading the file. Now because (I
assume you are still using the django built in webserver) why
don't you play with this a bit, start uploading say 10 1gb
files(all at once) then stop them(all) at around say 700mb~
in.

Is it just me, or will this fail to make a difference because the devserver is single-threaded, so it will only respond to one request at a time? ...so you can't concurrently upload 10 1gb files...

From my testing (granted this was run against something pre-1.2 so things may have changed since then), as soon as you initiate the first file upload, you're monopolizing the devserver process, preventing further attempts to do the following 9 uploads until the first has completed (successfully or aborted).

Not that you'd want to use devserver in a production environment anyways, as Russell points out in the documentation[1]. Note the "DO NOT USE THIS SERVER IN A PRODUCTION SETTING." It's not very subtle about that. :)

-tkc

[1]
http://docs.djangoproject.com/en/dev/ref/django-admin/?from=olddocs#runserver-port-or-ipaddr-port




--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to