Our great sponsors
-
go-generics-cache
A key:value store/cache library written in Go generics. LRU, LFU, FIFO, MRU, Clock support.
-
vcache
"vcache" is a library that provides a concurrent-safe in-memory cache to store key-value pairs.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
go-cache
An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
Interesting question! I haven't encountered similar solutions like https://github.com/Code-Hex/go-generics-cache before. I will definitely compare performance and report back in this post! And actually, it probably makes sense to use generics... I will have to see how it performs.
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.
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.
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: A Simple In-Memory Cache Library
-
fastcache VS directcache - a user suggested alternative
2 projects | 16 Jun 2022