Go Cache

Open-source Go projects categorized as Cache

Top 23 Go Cache Projects

  • gf

    GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang. (by gogf)

    Project mention: GoFrame | reddit.com/r/golang | 2022-09-26
  • go-cache

    An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.

    Project mention: VCache vs Go-Cache | reddit.com/r/golang | 2023-02-04

    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.

  • BigCache

    Efficient cache for gigabytes of data written in Go.

  • ristretto

    A high performance memory-bound Go cache

    Project mention: VCache: A Simple In-Memory Cache Library | reddit.com/r/golang | 2023-02-01

    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-03

    It'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.

  • GCache

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

  • overlord


    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.

  • fastcache

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

    Project mention: fastcache VS directcache - a user suggested alternative | libhunt.com/r/fastcache | 2022-06-16
  • gocache

    ☔️ A complete Go cache library that brings you multiple ways of managing your caches

    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.

  • ccache

    A golang LRU Cache for high concurrency (by karlseguin)

    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-16

    Hi 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

    Project mention: Ask HN: Have You Left Kubernetes? | news.ycombinator.com | 2022-08-01

    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.





  • cache

    Cache library with Redis backend for Golang (by go-redis)

    Project mention: go-doudou released v1.1.9 version recently | reddit.com/r/golang | 2022-06-26

    Memory and redis cache for built-in lightweight orm based on https://github.com/go-redis/cache

  • ttlcache

    An in-memory cache with item expiration and generics

    Project mention: batching incoming POST requests | reddit.com/r/golang | 2022-11-11

    Take a look at: github.com/jellydator/ttlcache

  • cache

    Mango Cache 🥭 - Partial implementation of Guava Cache in Go (golang). (by goburrow)

  • 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.

    Project mention: VCache vs Go-Cache | reddit.com/r/golang | 2023-02-04

    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.

  • holster

    A place to keep useful golang functions and small libraries

    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

  • cachego

    Golang Cache component - Multiple drivers

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-02-04.

Go Cache related posts


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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives