On 3/21/07, Nathan Harmston <[EMAIL PROTECTED]> wrote:
...
> The view could return results if the result was retrieved
> within a specific time period, else it would return a "work in progress".
> Would this kind of thing work? So the "WS client process" and Django both
> share the same models and "talk" using the database? Is there any problem
> with this that anyone can see?

Yeah, when you buy a PDF book from here:
http://www.pragmaticprogrammer.com/
They generate the PDF in response, and it sometimes takes a while.
They basically issue a ticket, and they email you when the response is
completed.

I had a task one time that could run a long time, so I had the browser
meta-refresh on the job status page until the job was completed.

The only problem with that approach is if you have a -lot- of clients,
refreshing frequently will put more load on your server.  You can
either slow down the poll or add servers...

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to