mercredi 25 novembre 2015

Django - in memory sqlite in production

I have a small (10MB), read-only, sqlite3 DB that I use in production.

I want to speed up my website so I'm trying to load the entire DB from disk to memory on every Django startup.

This answer explains how to do it in flask: http://ift.tt/1IaIYs9

Is there a similar solution for Django?

Aucun commentaire:

Enregistrer un commentaire