mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2025-07-01 04:01:54 +02:00
app.py: Get item statistics from SQLite database
It is much more efficient to cache view and download statistics in a database than to query Solr on demand (not to mention that it is not possible to page easily with facets in Solr). I decided to use SQLite because it is fast, native in Python 3, and doesn't require any extra steps during provisioning (assuming permissions are ok).
This commit is contained in:
Reference in New Issue
Block a user