-
encoding
Go package containing implementations of efficient encoding, decoding, and validation APIs.
If you're interested in super fast & easy JSON for that cache give this a try I've used it in prod & never had a problem.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
I use a fork of Google's groupcache by mailgun in production mostly to cache api requests in memory as protocol buffers. Google's implmentation is strictly a victim cache whereas the fork allows you to expire or delete keys from the cache which is important for me sepcifc usecase but it works quite well https://github.com/mailgun/groupcache
-
buntdb
BuntDB is an embeddable, in-memory key/value database for Go with custom indexing and geospatial support
I've used BuntDB and had a great experience with it. It's basically just a JSON-based key-value store. I'm a huge fan of the developers other work (sjson, gjson, jj, etc) and stumbled on it while looking for a simple, embedded DB solution. It's not specifically a cache, though--just a simple DB, so you'd have to write the caching logic yourself.
-
go-cache
An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
Though pretty simple but have a look at https://github.com/patrickmn/go-cache
Related posts
-
imcache v1.0.0 released. A zero-dependency generic in-memory cache Go library.
-
rueidis v1, a redis client with client-side caching, has been released under redis org
-
[imcache] A generic in-memory cache Go library. Feedback appreciated.
-
VCache vs Go-Cache
-
fastcache VS directcache - a user suggested alternative
2 projects | 16 Jun 2022