Releases: festinuz/gecaso
Releases · festinuz/gecaso
Implementation of key hashing
This release addresses the issue of arbitrary big key lengths. From this point forward, keys will be hashed by default in the form described at the end of changelog.
Changelog:
- Create
utils.hash_key
function. - Add
_hash_key
keyword argument tocached
function. (resolves #7)_hash_key
defaults toTrue
.- If
_hash_key
is set toTrue
, keys generated from function calls are hashed and returned with fixed size of 65: first 32 symbols are md5 cache of function qualified name, symbol 33 is '_', and last 32 symbols are md5 cache of function arguments.
Fix of the "dog-pile" effect
Dog-pille effect:
What occurs when a cached object expires, and multiple requests to fetch it are made at the same time. In systems that don’t lock or use a scheme to prevent multiple instances from simultaneously creating the same thing, every request will cause the system to create a new value to be cached.
BaseStorage update
LRUStorace minor fix
- Update 'remove' method of LRUStorage to match BaseStorage
LRUStorage is here!
- New storage "LRUStorage" add simple lru mechanic to any storage provided
- BaseStorage class is updated and now also has "remove" abstractmethod
- "asyncify" function is now public
Travis CI pypi integration
0.1.2 Add requirements.txt
Initial release of gecaso
0.1.1 Add setup.py and setup.cfg