seamusabshere / 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?
134Updated 4 years ago

Related projects

Alternatives and complementary repositories for lock_and_cache