[Buildbot-commits] [buildbot/buildbot] a389b0: replace old LRUCache with a niftier AsyncLRUCache

noreply at github.com noreply at github.com
Thu May 12 03:48:55 UTC 2011


Branch: refs/heads/master
Home:   https://github.com/buildbot/buildbot

Commit: a389b086e65ac8107ae6fdd288dc51a9854a992c
    https://github.com/buildbot/buildbot/commit/a389b086e65ac8107ae6fdd288dc51a9854a992c
Author: Dustin J. Mitchell <dustin at mozilla.com>
Date:   2011-05-11 (Wed, 11 May 2011)

Changed paths:
  M master/buildbot/test/unit/test_util.py
  A master/buildbot/test/unit/test_util_lru.py
  M master/buildbot/util/__init__.py
  A master/buildbot/util/lru.py

Log Message:
-----------
replace old LRUCache with a niftier AsyncLRUCache

This AsyncLRUCache handles:
 * asynchronous fetches from the cache
 * batching concurrent fetching to avoid the dog-pile effect
 * using weak refs to "rescue" items expired from the cache but
   still in memory






More information about the Commits mailing list