Web development tips, Use

Sharing and preserving database connections

From the developerWorks archives

David Mertz Ph.D

|

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 fashion.

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 content, steps, or illustrations may have changed.

View PDF file