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 [Moved to: https://github.com/jellydator/ttlcache] (by ReneKroon)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
gocache ttlcache
2 2
2,221 388
- -
6.1 6.4
8 days ago about 2 years 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. The last one was on 2021-08-25.

What are some alternatives?

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

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)

gods - GoDS (Go Data Structures) - Sets, Lists, Stacks, Maps, Trees, Queues, and much more

fsm - Finite State Machine for Go

levenshtein - Go implementation to calculate Levenshtein Distance.

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

count-min-log - Go implementation of Count-Min-Log

mspm - Multi-String Pattern Matching Algorithm Using TrieNode

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

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

bit - Bitset data structure