Re: [Web-SIG] question about connection pool, task queue in WSGI

2012-07-13 Thread Roberto De Ioris
> Hi list, > > I am running a site with django + uwsgi, I have few questions about how > WSGI works. > > 1. Is db connection open/close handled by Django? If it's open/closed per > request, can we make a connection pool in wsgi level, then multiple django > views can share it? > > 2. As a general

Re: [Web-SIG] question about connection pool, task queue in WSGI

2012-07-13 Thread Graham Dumpleton
> On 13 July 2012 07:18, est wrote: >> Thanks for the answer. That's very helpful info. >> >>> Only by changing the Django code base from memory. Better off asking >> on the Django users list. >> >> Is my idea was good or bad? (make wsgi handle connection pools, instead of >> wsgi apps) >> >> I r

Re: [Web-SIG] question about connection pool, task queue in WSGI

2012-07-13 Thread Graham Dumpleton
Please keep replies in the mailing list. Graham On 13 July 2012 07:18, est wrote: > Thanks for the answer. That's very helpful info. > >> Only by changing the Django code base from memory. Better off asking > on the Django users list. > > Is my idea was good or bad? (make wsgi handle connection