cache VS CLHT

Compare cache vs CLHT and see what are their differences.

cache

High performance resilient in-memory cache for Go (by bool64)

CLHT

CLHT is a very fast and scalable (lock-based and lock-free) concurrent hash table with cache-line sized buckets. (by LPD-EPFL)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
cache CLHT
1 1
23 137
- 5.8%
4.8 1.8
4 months ago over 2 years ago
Go C
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cache

Posts with mentions or reviews of cache. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-11.

CLHT

Posts with mentions or reviews of CLHT. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-11.
  • Implementing robust in-memory cache with Go
    5 projects | dev.to | 11 May 2022
    For mostly-read workloads standard sync.Map offers great performance, however, it degrades with more writes. There is a another custom implementation that outperforms sync.Map thanks to Cache-Line Hash Table (CLHT) data structure: github.com/puzpuzpuz/xsync.Map.

What are some alternatives?

When comparing cache and CLHT you can also consider the following projects:

go-cache - A flexible multi-layer Go caching library to deal with in-memory and shared cache by adopting Cache-Aside pattern.

fastcache - Fast thread-safe inmemory cache for big number of entries in Go. Minimizes GC overhead

cache-story - Demo repository for a blog post.

plt - ⏱️ Pocket load tester