nutsdb
go-cache
nutsdb | go-cache | |
---|---|---|
4 | 8 | |
3,434 | 8,164 | |
0.7% | - | |
6.9 | 0.0 | |
3 months ago | about 1 year ago | |
Go | Go | |
Apache License 2.0 | MIT License |
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.
nutsdb
-
Persistent data with golang
if you're looking for something simpler/embedded, NutsDB is pretty good.
-
Beginner ~ Intermediate Go programmer, how can I get better in go and get out of the "beginner" phase?
The best example I can give you is https://github.com/nutsdb/nutsdb it’s great project that got me started, one thing one should know is Go is different “yep” so there’re some coding habits that may bite you in Go and the Go compiler won’t correct you, you wanna learn about optimizations, unsafe usage check out https://github.com/valyala/fasthttp (note this is deep the rabbit hole), wanna learn concurrency check out ants https://github.com/panjf2000/ants with a little aid from “Go by example” you’re good to go
-
NutsDB v0.9.0 release~
NutsDB v0.9.0 release detail : https://github.com/nutsdb/nutsdb/issues/167
-
NutsDB v0.6.0 release,Add PrefixSearchScan() with regexp search ability and more
See https://github.com/xujiajun/nutsdb for detail.
go-cache
-
My first package in go. An in-memory cache package useful when creating multiple instances of the cache
Why I am creating this package? There is an already existing memory cache package which creates (One Janitor for One Cache) So I am running into issues where many go routines are running in our use cases causing the application to crash due to some memory leakage in the library itself or maybe multiple timers running at same time casuing the issue. Also this is a very popular github library but just doesn't fits when I am creating many cache instances. So thought about creating one package by myself.
-
VCache vs Go-Cache
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.
-
Better Cache - A Lightning Fast Caching System with Full Text Search
https://github.com/patrickmn/go-cache is a well known one. My cache module is for it's fast full text search thus I recommend only using mine if u are using a pre-set cache.
-
go-cache VS ccache - a user suggested alternative
2 projects | 2 Apr 2022
-
Implement an in-memory cache in Golang
github.com - patrickmn/go-cache
-
Log4j RCE Found
> when they went a year without a release.
Cause these libraries depend on other libraries that are probably extremely out of date at that point and have their own security vulnerabilities.
An example of a project that hasn't been dismissed as "abandoned", is https://github.com/patrickmn/go-cache because it explicitly doesnt have dependencies.
So yeah, if you have a semi-complex library, a year without a release is abandoned.
-
Cache locally using text file
implementing runtime cache using map seems doable, i may just learn from github.com/patrickmn/go-cache but i dont understand what does it mean cache locally using text file. does it mean I have to:
-
In-memory caching solutions
Though pretty simple but have a look at https://github.com/patrickmn/go-cache
What are some alternatives?
badger - Fast key-value DB in Go.
BigCache - Efficient cache for gigabytes of data written in Go.
immudb - immudb - immutable database based on zero trust, SQL/Key-Value/Document model, tamperproof, data change history
groupcache - groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
buntdb - BuntDB is an embeddable, in-memory key/value database for Go with custom indexing and geospatial support
GCache - An in-memory cache library for golang. It supports multiple eviction policies: LRU, LFU, ARC
rosedb - Lightweight, fast and reliable key/value storage engine based on Bitcask.
pogreb - Embedded key-value store for read-heavy workloads written in Go
cache2go - Concurrency-safe Go caching library with expiration capabilities and access counters
Bitcask - 🔑 A high performance Key/Value store written in Go with a predictable read/write performance and high throughput. Uses a Bitcask on-disk layout (LSM+WAL) similar to Riak.
goose