cache
LRU-based cache package for Go. (by gozeloglu)
golang-lru
Golang LRU cache (by hashicorp)
cache | golang-lru | |
---|---|---|
2 | 4 | |
29 | 4,098 | |
- | 0.8% | |
4.0 | 6.1 | |
about 2 months ago | about 1 month ago | |
Go | Go | |
MIT License | Mozilla Public License 2.0 |
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.
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 2021-11-21.
golang-lru
Posts with mentions or reviews of golang-lru.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-09-19.
- Shaving 40% Off Google’s B-Tree Implementation with Go Generics
-
2Q cache with generics
Fun fact – 2Q implementation in hashicorp/golang-lru not follows paper properly.
-
LRU-based cache package written in Go
Have a look at hashicorp's implementation https://github.com/hashicorp/golang-lru
-
pretty easy client identification (rfc)
I think what you're looking for in this case is a LRU (Least Recently Used) Cache. I haven't used it myself, but something like this perhaps: https://github.com/hashicorp/golang-lru
What are some alternatives?
When comparing cache and golang-lru you can also consider the following projects:
Googletrans - G文⚡️: Concurrency-safe, Free and Unlimited google translate api for Golang. 🔥免费、无限、并发安全的谷歌翻译包
2q - 2Q in-memory cache implementation.
Olric - Distributed in-memory object store. It can be used as an embedded Go library and a language-independent service.
lru - Thread safe GoLang LRU cache
lru - LRU cache using go generics