gocache VS ttlcache

Compare gocache vs ttlcache and see what are their differences.

gocache

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

ttlcache

An in-memory cache with item expiration and generics (by jellydator)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
gocache ttlcache
2 3
2,194 829
- 4.2%
6.1 6.2
13 days ago 17 days ago
Go Go
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

gocache

Posts with mentions or reviews of gocache. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-27.

ttlcache

Posts with mentions or reviews of ttlcache. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning ttlcache yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing gocache and ttlcache you can also consider the following projects:

ttlcache - An in-memory cache with item expiration and generics [Moved to: https://github.com/jellydator/ttlcache]

golang-set - A simple, battle-tested and generic set type for the Go language. Trusted by Docker, 1Password, Ethereum and Hashicorp.

gota - Gota: DataFrames and data wrangling in Go (Golang)

fsm - Finite State Machine for Go

null - Nullable Go types that can be marshalled/unmarshalled to/from JSON.

mspm - Multi-String Pattern Matching Algorithm Using TrieNode

go-mcache - Fast in-memory key:value store/cache with TTL

boomfilters - Probabilistic data structures for processing continuous, unbounded streams.

go-geoindex - Go native library for fast point tracking and K-Nearest queries

bloom - Bloom filters implemented in Go.

binpacker - A binary stream packer and unpacker