There are already several good in-memory cache libraries for Go. So when I started building pacecache , the obvious question was: Why another one? I wasn't trying to build a cache that would be universally better than every existing alternative. Cache design is a collection of trade-offs: lock contention, eviction quality, capacity utilization, expiration, memory overhead, and implementation complexity all pull in different directions. What I wanted was a relatively small, gener...