Database connection caching

lbolognini at gmail.com lbolognini at gmail.com
Fri Mar 18 07:52:03 EST 2005


Hi all,

is there an alternative way of:

- create a connection object
- open the connection
- close the connection

every time one has to run a query.

I assume that big sites do something to prevent the performance hit
given by these operations, don't they?

Would you kindly point me to some examples of good practices in this
sense beside http://www.danga.com/words/2004_oscon/oscon2004.pdf ?

Thanks,
Lorenzo




More information about the Python-list mailing list