go-cache

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

Go-cache Alternatives

Similar projects and alternatives to go-cache

  1. Apache Log4j 2

    Apache Log4j 2 is a versatile, feature-rich, efficient logging API and backend for Java.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. lunasec

    37 go-cache VS lunasec

    LunaSec - Dependency Security Scanner that automatically notifies you about vulnerabilities like Log4Shell or node-ipc in your Pull Requests and Builds. Protect yourself in 30 seconds with the LunaTrace GitHub App: https://github.com/marketplace/lunatrace-by-lunasec/

  4. Logback

    The reliable, generic, fast and flexible logging framework for Java.

  5. nuclei-templates

    13 go-cache VS nuclei-templates

    Community curated list of templates for the nuclei engine to find security vulnerabilities.

  6. BigCache

    Efficient cache for gigabytes of data written in Go.

  7. go-generics-cache

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

  8. Nutrient

    Nutrient - The #1 PDF SDK Library. Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.

    Nutrient logo
  9. GCache

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

  10. badger

    Fast key-value DB in Go.

  11. groupcache

    groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.

  12. fastcache

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

  13. jdk8u

    6 go-cache VS jdk8u

    https://wiki.openjdk.org/display/jdk8u (by openjdk)

  14. logging-log4j1

    Discontinued Apache log4j1

  15. log4j-patch

    Non intrusive log4j2 RCE vulnerability patch.

  16. bettercache

    Modern Thread-Safe Caching System with Basic Full Text Functionalities

  17. go-memdb

    Golang in-memory database built on immutable radix trees

  18. tsunami-security-scanner

    Tsunami is a general purpose network security scanner with an extensible plugin system for detecting high severity vulnerabilities with high confidence.

  19. active-scan-plus-plus

    ActiveScan++ Burp Suite Plugin

  20. SaaSHub

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

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better go-cache alternative or higher similarity.

go-cache discussion

Log in or Post with

go-cache reviews and mentions

Posts with mentions or reviews of go-cache. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-18.
  • My first package in go. An in-memory cache package useful when creating multiple instances of the cache
    2 projects | /r/golang | 18 Aug 2023
    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.
  • VCache vs Go-Cache
    4 projects | /r/golang | 4 Feb 2023
    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.
  • Better Cache - A Lightning Fast Caching System with Full Text Search
    2 projects | /r/golang | 25 Aug 2022
    https://github.com/patrickmn/go-cache is a well known one. My cache module is for it's fast full text search thus I recommend only using mine if u are using a pre-set cache.
  • go-cache VS ccache - a user suggested alternative
    2 projects | 2 Apr 2022
  • Implement an in-memory cache in Golang
    2 projects | dev.to | 17 Jan 2022
    github.com - patrickmn/go-cache
  • Log4j RCE Found
    32 projects | news.ycombinator.com | 9 Dec 2021
    > when they went a year without a release.

    Cause these libraries depend on other libraries that are probably extremely out of date at that point and have their own security vulnerabilities.

    An example of a project that hasn't been dismissed as "abandoned", is https://github.com/patrickmn/go-cache because it explicitly doesnt have dependencies.

    So yeah, if you have a semi-complex library, a year without a release is abandoned.

  • Cache locally using text file
    1 project | /r/learnprogramming | 28 Jul 2021
    implementing runtime cache using map seems doable, i may just learn from github.com/patrickmn/go-cache but i dont understand what does it mean cache locally using text file. does it mean I have to:
  • In-memory caching solutions
    4 projects | /r/golang | 1 Feb 2021
    Though pretty simple but have a look at https://github.com/patrickmn/go-cache
  • A note from our sponsor - SaaSHub
    www.saashub.com | 16 Feb 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic go-cache repo stats
8
8,303
0.0
about 1 year ago

patrickmn/go-cache is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of go-cache is Go.


Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Go is
the 4th most popular programming language
based on number of references?