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)

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

    InfluxDB logo
  • go-cache

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

  • Project mention: My first package in go. An in-memory cache package useful when creating multiple instances of the cache | /r/golang | 2023-08-18

    Why I am creating this package? There is an already existing memory cache package which creates (One Janitor for One Cache) So I am running into issues where many go routines are running in our use cases causing the application to crash due to some memory leakage in the library itself or maybe multiple timers running at same time casuing the issue. Also this is a very popular github library but just doesn't fits when I am creating many cache instances. So thought about creating one package by myself.

  • BigCache

    Efficient cache for gigabytes of data written in Go.

  • ristretto

    A high performance memory-bound Go cache

  • Project mention: Otter, Fastest Go in-memory cache based on S3-FIFO algorithm | news.ycombinator.com | 2023-12-23

    1. Unfortunately, ristretto has been showing hit ratio around 0 on almost all traces for a very long time now and the authors don't respond to this in any way. Vitess for example has already changed it to another cache. Here are two issues about it: https://github.com/dgraph-io/ristretto/issues/346 and https://github.com/dgraph-io/ristretto/issues/336. That is, ristretto shows such results even on its own benchmarks. You can see it just by running hit ratio benchmarks on a very simple zipf distribution from the ristretto repository: https://github.com/dgraph-io/ristretto/blob/main/stress_test.... On this test I got the following:

  • Olric

    Distributed in-memory object store. It can be used as an embedded Go library and a language-independent service.

  • Project mention: Olric: Distributed, embeddable in-memory data structures in Go | news.ycombinator.com | 2024-02-05
  • GCache

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

  • gocache

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

  • SaaSHub

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

    SaaSHub logo
  • rueidis

    A fast Golang Redis client that supports Client Side Caching, Auto Pipelining, Generics OM, RedisJSON, RedisBloom, RediSearch, etc.

  • Project mention: Show HN: A Cache-Aside Pattern Implementation Enhanced by Client Side Caching | news.ycombinator.com | 2023-07-16
  • overlord

    Overlord是哔哩哔哩基于Go语言编写的memcache和redis&cluster的代理及集群管理功能,致力于提供自动化高可用的缓存服务解决方案。

  • Project mention: One Piece is the First Anime to surpass over 2 Billion Views on Bilibili. | /r/OnePiece | 2023-12-05

    Discovering bilibili was quite an experience to me. It's like watching youtube from an alternative reality.

  • fastcache

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

  • otter

    A high performance lockless cache for Go. (by maypok86)

  • Project mention: Otter, Fastest Go in-memory cache based on S3-FIFO algorithm | news.ycombinator.com | 2023-12-23
  • ccache

    A golang LRU Cache for high concurrency (by karlseguin)

  • 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: Musl 1.2.4 adds TCP DNS fallback | news.ycombinator.com | 2023-07-30

    Exactly. Part of the appeal to consolidate all of our container images to use Debian-slim is the ability to optimise the caching of layers, both in our container registry but also on our kubernetes cluster’s nodes (which can be done in a consistent manner with kube-fledged[1]).

    [1] https://github.com/senthilrch/kube-fledged

  • ttlcache

    An in-memory cache with item expiration and generics

  • Project mention: v3.1.0 of ttlcache - an in-memory cache with item expiration and generics | /r/golang | 2023-08-25
  • cache

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

  • 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

  • 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 cache, and remote build execution platform.

  • rockscache

    The First Redis Cache Library To Ensure Eventual Consistency And Strong Consistency With DB.

  • go-generics-cache

    A key:value store/cache library written in Go generics. LRU, LFU, FIFO, MRU, Clock support.

  • kube-image-keeper

    kuik is a container image caching system for Kubernetes

  • cachego

    Golang Cache component - Multiple drivers

  • http-cache

    High performance Golang HTTP middleware for server-side application layer caching, ideal for REST APIs

  • SaaSHub

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

    SaaSHub logo
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).

Go Cache discussion

Log in or Post with

Go Cache related posts

  • Billion File Filesystem

    2 projects | news.ycombinator.com | 8 Feb 2024
  • Olric: Distributed, embeddable in-memory data structures in Go

    1 project | news.ycombinator.com | 5 Feb 2024
  • Otter, Fastest Go in-memory cache based on S3-FIFO algorithm

    16 projects | news.ycombinator.com | 23 Dec 2023
  • Go Testing By Example (GopherCon Australia 2023)

    1 project | /r/golang | 6 Dec 2023
  • What is your recommendation for a package beyond std?

    2 projects | /r/golang | 6 Dec 2023
  • One Piece is the First Anime to surpass over 2 Billion Views on Bilibili.

    1 project | /r/OnePiece | 5 Dec 2023
  • Guide -> How To Get Bilibili Rewards (Egg Coin + 240 Nemo Bucks + Special Nemo Outfit)

    1 project | /r/PartyAnimalsGame | 2 Nov 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 12 Jun 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Cache projects in Go? This list will help you:

Project Stars
1 gf 11,003
2 go-cache 7,904
3 BigCache 7,284
4 ristretto 5,378
5 Olric 3,028
6 GCache 2,545
7 gocache 2,318
8 rueidis 2,236
9 overlord 2,200
10 fastcache 2,018
11 otter 1,515
12 ccache 1,260
13 kube-fledged 1,219
14 ttlcache 869
15 cache 726
16 souin 634
17 cache 568
18 buildbuddy 559
19 rockscache 513
20 go-generics-cache 444
21 kube-image-keeper 406
22 cachego 361
23 http-cache 332

Sponsored
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