Spinning off time intensive procedures to speed CGI

Aahz Maruch aahz at panix.com
Wed Dec 13 01:20:59 CET 2000

In article <916bpn$a6i$1 at nnrp1.deja.com>,  <leejor at my-deja.com> wrote:
>I have a variety of time consuming proceedures that slow the response
>time of my CGI scripts. These are proceedures that do not send
>any information back to the web browser. I want to spin off these
>proceedures to allow the original program to imediately continue.
>Examples of these proceedures include: saving to Log files, sending
>emails, or caching database queries.

You might try using threads.
                      --- Aahz (Copyright 2000 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

What if there were no rhetorical questions?  --Aahz

More information about the Python-list mailing list