Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today. Learn more →
Top 23 Go Cache Projects
-
gf
GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang. (by gogf)
-
go-cache
An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
I wrote a new library called VCache (https://github.com/microup/vcache). VCahce differs from go-cache (https://github.com/patrickmn/go-cache) by using a key of type "any" instead of a key of type "string". I compared the performance of both libraries on the main operations: Add, Get, and Delete.
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
-
Thanks for sharing. There are a lot of options for embedded in-memory caches: https://github.com/dgraph-io/ristretto https://awesome-go.com/caches/ Do you have any comparisons or details on how your project has a different approach?
-
Olric
Distributed in-memory object store. It can be used both as an embedded Go library and as a language-independent service.
Project mention: I’m Now a Full-Time Professional Open Source Maintainer | news.ycombinator.com | 2023-02-03It's Olric: https://github.com/buraksezer/olric. Publicly speaking about the companies may not be a good idea but you can dig into the issues, pull requests, and Discord channel if you are curious.
-
-
Project mention: Trying to find places to stream the old Top Grear | reddit.com/r/thegrandtour | 2023-02-04
try www.bilibili.com
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
Project mention: fastcache VS directcache - a user suggested alternative | libhunt.com/r/fastcache | 2022-06-16
-
Project mention: Cacheme: Asyncio cache framework with multiple storages and thundering herd protection | reddit.com/r/Python | 2023-01-27
I made Cacheme years ago, which support redis and synchronous API only. Then I switch to Go and found that there are some awesome cache projects in Go(ristretto, gocache...), I also made my own Cacheme go version: cacheme-go. After trying asyncio and type hint, I think it's time to rewrite my old Cacheme.
-
Project mention: go-cache VS ccache - a user suggested alternative | libhunt.com/r/go-cache | 2022-04-02
-
rueidis
A fast Golang Redis client that supports Client Side Caching, Auto Pipelining, Generics OM, RedisJSON, RedisBloom, RediSearch, etc.
Project mention: rueidis v0.0.90: an almost zero allocation redis client library | reddit.com/r/golang | 2022-12-16Hi folks, I am pleased to introduce you rueidis v0.0.90, a Redis client library that can help you access Redis server with little or almost zero allocation on your application side.
-
kube-fledged
A kubernetes operator for creating and managing a cache of container images directly on the cluster worker nodes, so application pods start almost instantly
If you're pulling big images you could try kube-fledged (it's the simplest option, a CRD that works like a pre-puller for your images), or if you have a big cluster you can try a p2p distributor, like kraken or dragonfly2.
Also there's that project called Nydus that allows starting up big containers way faster. IIRC, starts the container before pulling the whole image, and begins to pull data as needed from the registry.
https://github.com/senthilrch/kube-fledged
https://github.com/dragonflyoss/Dragonfly2
-
Memory and redis cache for built-in lightweight orm based on https://github.com/go-redis/cache
-
Take a look at: github.com/jellydator/ttlcache
-
-
buildbuddy
BuildBuddy is an open source Bazel build event viewer, result store, remote caching, and remote build execution platform.
-
souin
An HTTP cache system, RFC compliant, compatible with @tyktechnologies, @traefik, @caddyserver, @go-chi, @bnkamalesh, @beego, @devfeel, @labstack, @gofiber, @go-goyave, @go-kratos, @gin-gonic, @roadrunner-server, @zalando, @zeromicro, @nginx and @apache
Project mention: New release open source HTTP cache – Souin v1.6.27 | news.ycombinator.com | 2022-12-23 -
rockscache
The First Redis Cache Library To Ensure Eventual Consistency And Strong Consistency With DB.
Project mention: The First Redis Cache Library To Ensure Eventual Consistency And Strong Consistency With DB. | reddit.com/r/microservices | 2022-05-29 -
http-cache
High performance Golang HTTP middleware for server-side application layer caching, ideal for REST APIs
-
minicache
Distributed cache with client-side consistent hashing, distributed leader-elections, and dynamic node discovery. Supports both REST and gRPC interfaces secured with mTLS.
Project mention: Seeking feedback on my first big Go project - minicache: a distributed cache with client-side consistent hashing, arbitrary cluster sizes, support for both HTTP/gRPC interfaces, secured with mTLS | reddit.com/r/golang | 2022-05-14 -
go-generics-cache
A key:value store/cache library written in Go generics. LRU, LFU, FIFO, MRU, Clock support.
Interesting question! I haven't encountered similar solutions like https://github.com/Code-Hex/go-generics-cache before. I will definitely compare performance and report back in this post! And actually, it probably makes sense to use generics... I will have to see how it performs.
-
Project mention: Seeking feedback on my first big Go project - minicache: a distributed cache with client-side consistent hashing, arbitrary cluster sizes, support for both HTTP/gRPC interfaces, secured with mTLS | reddit.com/r/golang | 2022-05-14
I wrote a RAFT implementation which I was going to integrate with gubernator, but never did. There are other more widely used implementations. https://github.com/mailgun/holster/tree/master/election
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go Cache related posts
- Trying to find places to stream the old Top Grear
- VCache vs Go-Cache
- I’m Now a Full-Time Professional Open Source Maintainer
- VCache: A Simple In-Memory Cache Library
- Cacheme: Asyncio cache framework with multiple storages and thundering herd protection
- Non Non Biyori Rewatch Announcement and Index
- Show HN: Zcached, in-memory key-value cache wire-compatible with memcached
-
A note from our sponsor - SonarLint
www.sonarlint.org | 8 Feb 2023
Index
What are some of the best open-source Cache projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | gf | 8,812 |
2 | go-cache | 6,862 |
3 | BigCache | 6,263 |
4 | ristretto | 4,338 |
5 | Olric | 2,699 |
6 | GCache | 2,220 |
7 | overlord | 2,111 |
8 | fastcache | 1,647 |
9 | gocache | 1,646 |
10 | ccache | 1,049 |
11 | rueidis | 921 |
12 | kube-fledged | 884 |
13 | cache | 581 |
14 | ttlcache | 579 |
15 | cache | 529 |
16 | buildbuddy | 406 |
17 | souin | 398 |
18 | rockscache | 330 |
19 | http-cache | 274 |
20 | minicache | 273 |
21 | go-generics-cache | 271 |
22 | holster | 257 |
23 | cachego | 205 |