Announcing the release of DiskCache version 4.0.0

What is DiskCache?
----

[DiskCache][1] is an Apache2 licensed disk and file backed cache library,
written in pure-Python, and compatible with Django. By leveraging a rock-solid
database library and memory-mapped files, cache performance can match and
exceed industry standard solutions.  There’s no need for a C compiler or
running another process. [Performance is a feature][2] and testing has 100%
coverage with unit tests and hours of stress in production.

  [1]: http://www.grantjenks.com/docs/diskcache/
  [2]: http://www.grantjenks.com/docs/diskcache/cache-benchmarks.html


What's new in 4.0.0?
----

* Cache, Deque, and Index data types now support transactions for consistency
  and improved performance.

* Add memoization with cache-stampede mitigation using probabilistic early
  recomputation based on research by Vattani, et al.

* Published: "Case Study: Landing Page Caching" illustrating memoization with
  cache-stampede mitigation:
  http://www.grantjenks.com/docs/diskcache/case-study-landing-page-caching.html

* Cache methods offer `retry` parameter just like FanoutCache and DjangoCache
  methods.

* Memoization decorator added to Cache, Index, and DjangoCache data types.

* Add peek method to Cache and Deque data types.

* Add peekitem method to Cache and Index data types.

* Add touch method to Cache, FanoutCache, and DjangoCache data types.

* Add Averager data type for calculating a running average across threads and
  processes.

* Add Lock, RLock, and BoundedSemaphore data types for synchronization across
  threads and processes.

* Add throttle decorator to rate-limit calls to a function across threads and
  processes.

* Add barrier decorator to synchronize calls to a function across threads and
  processes.

* Developed, benchmarked, and tested on Python 3.7

* Numerous small documentation and performance improvements.


Links
----

- Documentation: http://www.grantjenks.com/docs/diskcache/
- Download: https://pypi.python.org/pypi/diskcache
- Source: https://github.com/grantjenks/python-diskcache
- Issues: https://github.com/grantjenks/python-diskcache/issues

Please upgrade.
--
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/

        Support the Python Software Foundation:
        http://www.python.org/psf/donations/

Reply via email to