[Zope] MySQL Threading

Dieter Maurer dieter at handshake.de
Sat Dec 20 06:28:03 EST 2003


Ralph vd Houdt wrote at 2003-12-17 15:35 +0100:
>I'm currently writing an application in which an report-page is based on a
>heavy SQL query. The query runs about 15 seconds (the result will be stored
>in a session). For this reason I want to create a waiting page which checks
>if the SQL query has finished running. Does anybody know if I can run the
>SQL query in a separate thread and redirect to the report-page when the
>query has finished (by polling the thread). The results will be read from
>the session and used in the report-page.

A long time ago, someone announced a product "LocalProc" that
seemed to be made for such use cases.

-- 
Dieter



More information about the Zope mailing list