Alleged Literature >> Damian Cugley >> 2003 >> May

Damian Cugley’s Archive

ZODB: don’t forget to close connections

Wed. 14 May 2003

I have converted the Picky Picky Game so that it can run as a BaseHTTPServer server as an alternative to as a CGI script, in order to avoid the performance penalty caused by starting up fresh Python processes for each request. But I discovered that the sevrer would lock up from time to time.

Closing your connections