Spinning off time intensive procedures to speed CGI

Aahz Maruch aahz at panix.com
Tue Dec 12 19:20:59 EST 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