[ann] CGI Link Checker 0.1

Neil Hodgson nhodgson at bigpond.net.au
Tue Jul 13 17:44:19 EDT 2004


Christopher T King:

> A further thought on the issue... the W3C's link checker might be
> multithreaded, allowing it to check multiple links at the same time,
> rather than waiting for each server to respond in turn.  This may or may
> not help in Python; Python doesn't play well with mulithreading (due to a
> global interpreter lock), so whether or not you see a speedup using this
> method is dependent on whether the socket module is smart enough to
> release the interpreter lock (my guess is it is).

   Multithreading works well with sockets as the GIL is released during
blocking calls. I have used multithreading for link checking and host load
testing.

   Neil





More information about the Python-list mailing list