An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

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?

Ecosystem
npmjs.org
Latest Release
5.3.9
almost 7 years ago
Versions
37
Downloads
184 last month
Dependent Packages
1
Links
Registry npmjs.org
Source Repository
Homepage Homepage
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:npm/lock_and_cache
spec
License MIT
First Release almost 10 years ago
Last Synced 27 days ago
Keywords
lock cache redis
Repository
Stars 2 on GitHub
Forks 0 on GitHub