Re:Funding Django is not an act of charity, it's an investment
by Scarblac on Tuesday February 09, 2016 @10:30AM
(#11065894)
I'm not sure if this is in fact what you're saying, but the closing the database connection each time is only the default (historical reasons), changing it is a matter of changing one setting: https://docs.djangoproject.com/en/1.9/ref/databases/#connect...
[ Parent
| on HN ]
Re:Funding Django is not an act of charity, it's an investment
by bluetech on Tuesday February 09, 2016 @12:57PM
(#11067216)
This is still a similar problem for the memcached cache backend (which django recommends): https://code.djangoproject.com/ticket/11331
Re:Funding Django is not an act of charity, it's an investment
by brianwawok on Tuesday February 09, 2016 @01:30PM
(#11067504)
Oh interesting.
I did not mess with memcached, just django + gunicorn + nginx... was pretty nice performance for simple webappy stuff.