clfu VS lfu-cache

Compare clfu vs lfu-cache and see what are their differences.

clfu

Implementation of Constant Time LFU (least frequently used) cache in Go with concurrency safety. (by Narasimha1997)

lfu-cache

Strongly typed least frequently used (LFU) cache in Go with constant time complexity O(1) on all operations (by NdoleStudio)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
clfu lfu-cache
2 1
38 8
- -
10.0 3.4
over 1 year ago 2 months ago
Go Go
MIT License MIT License
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.

clfu

Posts with mentions or reviews of clfu. We have used some of these posts to build our list of alternatives and similar projects.

lfu-cache

Posts with mentions or reviews of lfu-cache. We have used some of these posts to build our list of alternatives and similar projects.
  • Least Frequently Used (LFU) Cache with Constant Time Complexity
    1 project | dev.to | 22 Oct 2021
    The code for this LFU cache is on github, One improvement I'm thinking of is to make this cache generic so it can work in cases where the key is a string, int or some other comparible struct/pointer. The generics implementation can be found in 2.0-dev branch on github.

What are some alternatives?

When comparing clfu and lfu-cache you can also consider the following projects:

codeforces-go - 算法竞赛模板库 by 灵茶山艾府 💭💡🎈

ratelimiter - A concurrent rate limiter library for Golang based on Sliding-Window rate limiter algorithm.

GCache - An in-memory cache library for golang. It supports multiple eviction policies: LRU, LFU, ARC

Data-Structures-and-Algorithms - Data Structures and Algorithms implementation in Go

shardmap - A performant, highly concurrent and simple sharded hashmap implementation using generics