[Zope-DB] Large jobs and timeouts.

Dieter Maurer dieter@handshake.de
Sun, 4 Aug 2002 23:34:09 +0200


Eric Kamm writes:
 > ...
 > My current solution is to process asynchronously (fork and
 > detach) and provide myself way to check the status of the
 > separate process (maybe by having the forked process leave
 > a sentinel file somewhere).  The checking (polling) can be
 > done via HTTP refresh to enhance the web experience.
There is a product for that: "ExtProc".


When your large job does not need to produce output and does
not throw exceptions, you can also tell the browser that the
request is finished (through "RESPONSE.write", lots about it
in the mailing list archives) and then work on the job.


Dieter