Description
The cloud-based computing of 2016 puts a premium on memory. Gigabytes of empty
space is left on disks as processes vie for memory. Among these processes is
Memcached (and sometimes Redis) which is used as a cache. Wouldn't it be nice
to leverage empty disk space for caching?
Django is Python's most popular web framework and ships with several caching
backends. Unfortunately the file-based cache in Django is essentially
broken. The culling method is random and large caches repeatedly scan a cache
directory which slows linearly with growth. Should it really take ~60ms to
store a key in a cache with a thousand items?
In Python, we can do better. And we can do it in pure-Python!
DiskCache alternatives and similar packages
Based on the "Caching" category.
Alternatively, view DiskCache alternatives based on common mentions on social networks and blogs.
-
django-cacheops
A slick ORM cache with automatic granular event-driven invalidation. -
python-diskcache
Persistent dict, backed by sqlite3 and pickle, multithread-safe. -
django-cache-machine
Automatic caching and invalidation for Django models through the ORM. -
pylibmc
A Python wrapper around the libmemcached interface from TangentOrg. -
Cachier
Persistent, stale-free, local and cross-machine caching for Python functions. -
dogpile.cache
dogpile.cache is next generation replacement for Beaker made by same authors. -
django-viewlet
Render template parts with extended cache control. -
HermesCache
Python caching library with tag-based invalidation and dogpile effect prevention.
WorkOS - The modern identity platform for B2B SaaS
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of DiskCache or a related project?