npmjs.org : lock_and_cache
Most caching libraries don't do locking, meaning that >1 process can be calculating a cached value at the same time. Since you presumably cache things because they cost CPU, database reads, or money, doesn't it make sense to lock while caching?
Registry
-
Source
- Homepage
- JSON
purl: pkg:npm/lock_and_cache
Keywords:
lock
, cache
, redis
License: MIT
Latest release: about 6 years ago
First release: about 9 years ago
Dependent packages: 1
Downloads: 56 last month
Stars: 2 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 27 days ago