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)

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

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • 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

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

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

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

  • Project mention: Ask HN: Who wants to be hired? (June 2023) | news.ycombinator.com | 2023-06-01

    https://github.com/fmstephe/P2P-Distributed-Sat-Solver

    Here is an example of a bug-fix I made to an existing open source project https://github.com/VictoriaMetrics/fastcache/pull/17

  • otter

    A high performance lockless cache for Go. Many times faster than Ristretto and friends. (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 related posts

Index

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

Project Stars
1 gf 10,843
2 go-cache 7,827
3 BigCache 7,192
4 ristretto 5,306
5 Olric 3,005
6 GCache 2,510
7 gocache 2,229
8 overlord 2,194
9 rueidis 2,178
10 fastcache 1,984
11 otter 1,339
12 ccache 1,237
13 kube-fledged 1,204
14 ttlcache 842
15 cache 718
16 souin 613
17 cache 568
18 buildbuddy 547
19 rockscache 500
20 go-generics-cache 421
21 kube-image-keeper 398
22 cachego 355
23 http-cache 326

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com