allegro/bigcache
View on GitHub ↗ ★ 8,176 Go
Efficient cache for gigabytes of data written in Go.
7 mentions on Hacker News by 7 people: 3 stories, 4 comments · first 2016-03-23 · latest 2019-12-23
20082026
-
…but this seems like a pretty undesirable property. The code for the hash function is found here: https://github.com/allegro/bigcache/blob/f64abe8f4fe2f5769bd... // Sum64 gets the string and returns its uint64 hash value. func (f fnv64a)…
comment by merlincorey · 2019-12-23 · in Efficient cache for gigabytes of data written in Go -
…contains data that can and will be GC'd once no longer used. This is the type of the variable: https://github.com/allegro/bigcache/blob/master/bigcache.go
comment by hu3 · 2019-12-23 · in Efficient cache for gigabytes of data written in Go -
…creating the cache struct as a global var and therefore this cache will never be garbage collected? https://github.com/allegro/bigcache/blob/master/server/serve... I ask this because I’ve run into a problem with this in the past.
comment by todd3834 · 2019-12-23 · in Efficient cache for gigabytes of data written in Go -
▲ 153
Efficient cache for gigabytes of data written in Gostory by alexellisuk · 2019-12-20 · 67 comments
-
▲ 2
Bigcache Goes 2.0story by mxplusb · 2019-06-18 · 0 comments
-
…wouldn't offer a better solution for this use case. [1] https://github.com/coocood/freecache [2] https://github.com/allegro/bigcache
comment by henpa · 2017-05-27 · in Go and a not tiny amount of memory -
▲ 5
Show HN: Efficient cache for gigabytes of data written in Gostory by janisz · 2016-03-23 · 0 comments