3 ms·
maybe use sqlite? http://flask.pocoo.org/snippets/88/ http://flask.pocoo.org/snippets/88/
by joevandyk 13y ago
maybe use sqlite?
http://flask.pocoo.org/snippets/88/ http://flask.pocoo.org/snippets/88/
- mborch 13y agoWith PostgreSQL, you can use advisory locks and other little tricks to get better performance, e.g. https://github.com/malthe/pq/blob/master/pq/__init__.py#L224 https://github.com/malthe/pq/blob/master/pq/__init__.py#L224