Implementing robust in-memory cache with Go

This page summarizes the projects mentioned and recommended in the original post on dev.to

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
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. cache-story

    Demo repository for a blog post.

    We're going to put some load on the application with a custom plt.

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

    ⏱️ Pocket load tester (by vearutop)

    We're going to put some load on the application with a custom plt.

  4. cache

    High performance resilient in-memory cache for Go (by bool64)

    advanced - caching using github.com/bool64/cache library that implements a number of features to improve performance and resiliency, TTL is also 3 minutes.

  5. CLHT

    CLHT is a very fast and scalable (lock-based and lock-free) concurrent hash table with cache-line sized buckets.

    For mostly-read workloads standard sync.Map offers great performance, however, it degrades with more writes. There is a another custom implementation that outperforms sync.Map thanks to Cache-Line Hash Table (CLHT) data structure: github.com/puzpuzpuz/xsync.Map.

  6. fastcache

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

    If serialization is not a problem fastcache is the best for its outstanding memory usage.

  7. 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 more popular project.

Suggest a related project

Related posts

  • fastcache VS directcache - a user suggested alternative

    2 projects | 16 Jun 2022
  • imcache v1.0.0 released. A zero-dependency generic in-memory cache Go library.

    1 project | /r/golang | 3 May 2023
  • rueidis v1, a redis client with client-side caching, has been released under redis org

    3 projects | /r/golang | 1 May 2023
  • [imcache] A generic in-memory cache Go library. Feedback appreciated.

    2 projects | /r/golang | 9 Apr 2023
  • VCache vs Go-Cache

    4 projects | /r/golang | 4 Feb 2023

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