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

2012-07-12 Thread Graham Dumpleton
On 12 July 2012 19:50, est wrote: > 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, Yes it is. > can we make a connection pool in wsgi level, then multiple

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

2012-07-12 Thread est
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 design considerati