http://django-cachalot.readthedocs.io/en/latest/introduction.html
Feature | cachalot | cache-machine | cacheops |
---|---|---|---|
Easy to install | ✔ | ✘ | quite |
Cache agnostic | ✔ | ✔ | ✘ |
Type of invalidation | per table | per object | per query |
CPU performance | excellent | excellent | excellent |
Memory performance | excellent | good | excellent |
Reliable | ✔ | ✘ | ✘ |
Useful for > 50 modifications per minute | ✘ | ✔ | ✔ |
Handles transactions | ✔ | ✘ | ✘ |
Handles Django admin save | ✔ | ✘ | ✘ |
Handles multi-table inheritance | ✔ | ✔ | ✘ |
Handles QuerySet.count | ✔ | ✘ | ✔ |
Handles QuerySet.aggregate /annotate | ✔ | ✔ | ✘ |
Handles QuerySet.update | ✔ | ✘ | ✘ |
Handles QuerySet.select_related | ✔ | ✔ | ✘ |
Handles QuerySet.extra | ✔ | ✘ | ✘ |
Handles QuerySet.values /values_list | ✔ | ✘ | ✔ |
Handles QuerySet.dates /datetimes | ✔ | ✘ | ✔ |
Handles subqueries | ✔ | ✔ | ✘ |
Handles querysets generating a SQL HAVING keyword | ✔ | ✔ | ✘ |
Handles cursor.execute | ✔ | ✘ | ✘ |
Handles the Django command flush | ✔ | ✘ | ✘ |