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 related packages
Based on the "Caching" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of DiskCache or a related project?
DiskCache RecommendationsThere are no recommendations yet. Be the first to promote DiskCache!
Have you used DiskCache? Share your experience. Write a short recommendation and DiskCache, you and your project will be promoted on Awesome Python.
Recently added DiskCache resources
Be the first to add one!