Published at LXer:
Databases are happy to handle many parallel requests. However, active processes (threaded or forked) almost inevitably eat up a valuable resource: database connections. Learn how to use the antipool.py module in Martin Blais' antiorm library to make the pooling and reuse of connections transparent to programmers, and in a RDBMS-agnostic fashion.
Read More...