Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #2256

ANN: DiskCache 2.0.2 Released

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Grant Jenks <grant.jenks@gmail.com>
Newsgroups comp.lang.python.announce
Subject ANN: DiskCache 2.0.2 Released
Date Mon, 12 Sep 2016 12:41:32 -0700
Lines 71
Approved python-announce-list@python.org
Message-ID <mailman.151.1473711000.2411.python-announce-list@python.org> (permalink)
References <CAG0JsGwOh0erk-SuFaGnVhtUb+Mt_QeJQwzHRSLjiff4eqfHrg@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de zjp1Aq6kPMpXgeK4Vw2ZbAOA4tzYHeWI2gN+vkhXcDaA==
Return-Path <grant.jenks@gmail.com>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'url:pypi': 0.03; 'cache': 0.05; 'cpython': 0.05; 'django.': 0.05; 'url:github': 0.05; 'compiler': 0.07; 'pypy': 0.07; 'subject:ANN': 0.07; '[1]:': 0.09; '[2]:': 0.09; 'concurrent': 0.09; 'url:issues': 0.09; 'python': 0.10; 'api': 0.10; 'django': 0.11; '2.7': 0.13; 'index': 0.13; 'explicitly': 0.15; 'attributes.': 0.16; 'handlers.': 0.16; 'included)': 0.16; 'increment': 0.16; 'iteration.': 0.16; 'processes.': 0.16; 're-run': 0.16; 'rock-solid': 0.16; 'there\xe2\x80\x99s': 0.16; 'thread-safe': 0.16; 'documented': 0.18; 'library,': 0.18; 'settings': 0.20; 'library': 0.20; 'tests': 0.21; 'bytes': 0.22; 'disable': 0.22; 'keys': 0.22; 'tables': 0.24; 'message-id:@mail.gmail.com': 0.26; 'testing': 0.26; 'compatible': 0.27; 'written': 0.27; 'disk': 0.28; 'leveraging': 0.28; 'download:': 0.29; 'parameter': 0.29; 'url:api': 0.29; 'reset': 0.29; '----': 0.31; 'writes': 0.31; 'skip:[ 10': 0.31; 'url:python': 0.32; 'objects': 0.33; 'another': 0.33; 'received:google.com': 0.33; 'items.': 0.33; 'policies': 0.33; 'open': 0.34; 'changing': 0.34; 'running': 0.34; 'but': 0.35; 'file': 0.35; 'method': 0.35; 'licensed': 0.35; 'solutions.': 0.35; 'drop': 0.36; 'unit': 0.36; 'url:org': 0.36; 'add': 0.36; 'subject:: ': 0.37; 'setting': 0.37; 'release': 0.37; 'url:docs': 0.37; 'version': 0.38; 'rather': 0.38; 'received:io': 0.38; 'received:psf.io': 0.38; 'received:ams1.psf.io': 0.39; 'received:mail1.ams1.psf.io': 0.39; 'to:addr:python.org': 0.39; 'standard': 0.40; 'proto:https': 0.40; 'hours': 0.60; 'developed': 0.62; 'more': 0.63; 'binding': 0.66; 'improvements': 0.66; 'production.': 0.66; 'to:addr:python-announce-list': 0.66; 'production': 0.67; 'industry': 0.67; 'limit': 0.69; 'exceed': 0.72; '100%': 0.75; '"retry"': 0.84; 'benchmark': 0.84; 'examples.': 0.84; 'internally.': 0.84; 'issues:': 0.84; 'observed': 0.84; 'source:': 0.84; 'upgrade.': 0.84; 'url:add': 0.84; 'announcing': 0.91; 'transactions': 0.91; 'url:tutorial': 0.91; 'url:cache': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=CfTQsKRwhD8CU+ug9G0S4vaeQFj4WpnokOIpuP7ZWdg=; b=F8QYlm9uc0n+a5VvyHcbcU1oPd4nGDnmFvDk1aeGCBF7hUY7bX1uuXRDbDxpWV5Mox n1FvVdKPrC3vDj/MOiZsQ4w+eI+6zfGgEt4dHGeq70Rp0f6aCBDZJTu3mOL692A7zJgC XgrhGGRchsKerGMAiC8yskSUUszn0OTQh1nEKbOJY4zynzs3A6KF+zx20uHtpm3NtmSo TijqhcyJ6Fw17BX/xdzDA4GOgCDz1WlpLxZd3UV78KN12+1U4pRJsgzDFwQlFX32ZNmn TmKWivkvhayFooG3BlcbFXV8o9kiW34zL4s+qmqIPXTNAR7SDWSPNSWCpzZl50/AF4G6 RGgg==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=CfTQsKRwhD8CU+ug9G0S4vaeQFj4WpnokOIpuP7ZWdg=; b=lrksYOheOD171kE38WNkoFpzmyo1hKsL+I/hP5N1SkdUt5mLZQ6lVgv/ABVW4IJCIM c3+CN6RTlo51YbHkLzHblo0OWvP+cx28CmlX+t+4y0MYTEe/pNnOgXDc1BFeJHLlLc0f iqlFkUOqArOnKn4A2Gb9Q3I+KuwnBHFKflMxiwtEo+kvXZJdpZxYfzGkMpdalfjosCso v0oM1z5ztpe7lZrFGHlLYy4eGoeekMiw00AmrnkEKUcJ0Nb9eSUFmf0rzWPxh7C3glUb 1C7nOuokkG9Em7EC+2iyEwOSxSLLo7dqr5d1QQBGIW1CEPfQVDGPcdOwDE5uo0GUyt8K Dcfg==
X-Gm-Message-State AE9vXwNLEfWWxbrPPvr6ZGG2fjeWEzQteSZOi5r8S7i+HOCxVe5JPlsMLpyeqf/COCuLobZIZ//Eb3IlDU0Rdg==
X-Received by 10.202.207.81 with SMTP id f78mr983002oig.45.1473709293483; Mon, 12 Sep 2016 12:41:33 -0700 (PDT)
X-Mailman-Approved-At Mon, 12 Sep 2016 16:09:59 -0400
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <CAG0JsGwOh0erk-SuFaGnVhtUb+Mt_QeJQwzHRSLjiff4eqfHrg@mail.gmail.com>
Xref csiph.com comp.lang.python.announce:2256

Show key headers only | View raw


Announcing the release of DiskCache version 2.0.2

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 2.0.2?
----

* All writes now explicitly use transactions internally. Significant
  performance improvements were observed with many concurrent processes.
  http://www.grantjenks.com/docs/diskcache/djangocache-benchmarks.html
* Add atomic increment and decrement methods: incr and decr.
  http://www.grantjenks.com/docs/diskcache/api.html#diskcache.Cache.incr
* Add atomic method "add" for setting non-existant items.
  http://www.grantjenks.com/docs/diskcache/api.html#diskcache.Cache.add
* Add method "read" like "get" but returns open file handle.
  http://www.grantjenks.com/docs/diskcache/api.html#diskcache.Cache.read
* Add methods to create and drop tag index to evict items by tag.
  http://www.grantjenks.com/docs/diskcache/tutorial.html#cache
* Cache and FanoutCache now support iteration.
  http://www.grantjenks.com/docs/diskcache/api.html#diskcache.Cache.__iter__
* FanoutCache and DjangoCache methods support "retry" parameter for timeouts.
  http://www.grantjenks.com/docs/diskcache/tutorial.html#djangocache
* Use reset method to update settings rather than setting attributes.
  http://www.grantjenks.com/docs/diskcache/api.html#diskcache.Cache.reset
* BugFix: The size of small bytes objects was double-counted.
* BugFix: FanoutCache now uses "size_limit / shards" to limit shard volume.
* BugFix: Changing "cull_limit" to zero will now only disable culling.
* BugFix: Allow binding "close" and "clear" as signal handlers.
* Re-run benchmarks and update tables and graphs.
* Many documentation improvements and more examples.

Features
----

* Pure-Python
* Fully Documented
* Benchmark comparisons (alternatives, Django cache backends)
* 100% test coverage
* Days of stress testing in production
* Performance matters
* Django compatible API
* Thread-safe and process-safe
* Supports multiple eviction policies (LRU and LFU included)
* Keys support “tag” metadata and eviction
* Developed on Python 2.7
* Tested on CPython 2.7, 3.4, 3.5 and PyPy

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.

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

ANN: DiskCache 2.0.2 Released Grant Jenks <grant.jenks@gmail.com> - 2016-09-12 12:41 -0700

csiph-web