Web development tips, Use
Sharing and preserving database connections
From the developerWorks archives
Date archived: January 4, 2017 | First published: August 21, 2007
Databases are happy to handle many parallel requests (doing so is
almost in the definition of a database). However, active processes
(threaded or forked) almost inevitably eat up a valuable resource:
database connections. The antipool.py module in Martin Blais'
antiorm library does a nice job of making the pooling and reuse of
connections transparent to programmers, and in a RDBMS-agnostic
This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.