On Thu, 2006-05-18 at 17:09 -0400, Jay Parlar wrote:
> For the app I'm working on, the user uploads a file, the server does a
> whole bunch of work on it, and then returns the result.
> 
> This work takes 10-20 seconds to do. It's ok if the user has to wait
> 10-20 seconds for the result to come back, but it's *not* ok if other
> users are blocked from accessing the app during that time.
> 
> When I switch from the development server to mod_python, will this
> automatically get taken care of for me? I have no actual web app
> experience prior to Django, so I'm not sure what will happen when I
> switch to Apache.

Yes, it will be fine. The development web server is only single
threaded, so only handles one request at a time. Any production server
can handle multiple requests at once and since they each end up running
a different copy of your app in memory, there are no problems.

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to