I am amazingly happy with web.py and have got my site running with lighttpd and a mysql backend but I have the one issue of connection pooling to solve. Currently any page that is served from the web site inherits from a base page class which contains a storage class. The storage class provides a lazy loading connection to the mysql database which works fine but means on every page request I have to open a connection to the database. Can I just swap the mysqlab connection code for the DbUtils connection code and it will pickup on the global connection pool on every request? or so I need to re factor the DbUtils connection creation some how so it is created before the app.run() and pass in?
Thanks in advance for any help --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
