./devel/py-dogpile-cache, Caching front-end based on the Dogpile lock

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.3.3, Package name: py312-dogpile-cache-1.3.3, Maintainer: pkgsrc-users

Dogpile consists of two subsystems, one building on top of the other.

dogpile provides the concept of a "dogpile lock", a control structure which
allows a single thread of execution to be selected as the "creator" of some
resource, while allowing other threads of execution to refer to the previous
version of this resource as the creation proceeds; if there is no previous
version, then those threads block until the object is available.

dogpile.cache is a caching API which provides a generic interface to caching
backends of any variety, and additionally provides API hooks which integrate
these cache backends with the locking mechanism of dogpile.

Overall, dogpile.cache is intended as a replacement to the Beaker caching
system, the internals of which are written by the same author. All the ideas of
Beaker which "work" are re- implemented in dogpile.cache in a more efficient and
succinct manner, and all the cruft (Beaker's internals were first written in
2005) relegated to the trash heap.


Required to run:
[devel/py-setuptools] [devel/py-decorator] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 266.02 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-10-14 08:46:10 by Thomas Klausner | Files touched by this commit (325)
Log message:
*: clean-up after python38 removal
   2024-05-06 06:36:19 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-dogpile-cache: updated to 1.3.3

1.3.3

usecase

[usecase] [memcached]
Added support for an additional pymemcached client parameter \ 
PyMemcacheBackend.memcached_expire_time. Pull request courtesy Takashi Kajinami.

bug

[bug] [typing]
Fixed the return type for CacheRegion.get(), which was inadvertently hardcoded \ 
to use CacheReturnType that only resolved to CachedValue or NoValue. Fixed to \ 
return ValuePayload which resolves to Any, as well as a new literal indicating \ 
an enum constant for api.NO_VALUE. The api.NO_VALUE constant remains available \ 
as the single element of this enum.
   2024-02-22 18:35:15 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-dogpile-cache: updated to 1.3.2

1.3.2

[usecase] [redis]
Added a new backend RedisClusterBackend, allowing support for Redis Cluster. \ 
Pull request courtesy Maël Naccache Tüfekçi.

[usecase] [redis]
Added support for additional Redis client parameters \ 
RedisBackend.socket_connect_timeout, RedisBackend.socket_keepalive and \ 
RedisBackend.socket_keepalive_options. Pull request courtesy Takashi Kajinami.
   2024-02-08 07:05:27 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-dogpile-cache: updated to 1.3.1

1.3.1

Added new parameter RedisBackend.username to the Redis backend, and \ 
RedisSentinelBackend.username to the Redis Sentinel backend. These parameters \ 
allow for username authentication in Redis when RBAC is enabled. Pull request \ 
courtesy Takashi Kajinami.
   2024-01-12 12:55:50 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-dogpile-cache: updated to 1.3.0

1.3.0

feature

Added new method CacheRegion.get_value_metadata() which can be used to get a \ 
value from the cache along with its metadata, including timestamp of when the \ 
value was cached. The CachedValue object is returned which features new \ 
accessors to retrieve cached time and current age. Pull request courtesy \ 
Grégoire Deveaux.

misc

Minimum Python version is now Python 3.8; prior versions Python 3.7 and 3.6 are EOL.
Project setup is now based on pep-621 pyproject.toml configuration.
   2023-11-07 23:38:10 by Thomas Klausner | Files touched by this commit (112)
Log message:
*: latest py-sphinx only support Python 3.9+
   2023-07-10 14:59:00 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-dogpile-cache: updated to 1.2.2

1.2.2

[bug] [typing]
Made use of pep-673 Self type for method chained methods such as \ 
CacheRegion.configure() and ProxyBackend.wrap().