GitHub repository: seamusabshere/lock_and_cache
Primary language: Ruby
Description: 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?