golang/groupcache
View on GitHub ↗ ★ 13,334 Go
groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
24 mentions on Hacker News by 24 people: 4 stories, 20 comments · first 2013-07-26 · latest 2026-10-02
20082026
-
…https://github.com/perkeep/perkeep/commit/6f9f0bdda9c9c1f147... d And later I put it in https://pkg.go.dev/github.com/golang/groupcache/singleflight (groupcache was written for dl.google.com) And a private copy in Go's net package in Jun…
comment by bradfitz · 2026-05-19 · in Understanding Singleflight in Go -
…Architecturally, segcache [3] looks interesting. [1]: https://github.com/olric-data/olric [2]: https://github.com/golang/groupcache [3]: https://www.usenix.org/conference/nsdi21/presentation/yang-j...
comment by maypok86 · 2025-07-02 · in The Evolution of Caching Libraries in Go -
groupcache[ https://github.com/golang/groupcache ] has been around for some time now.
comment by awenix · 2025-07-02 · in The Evolution of Caching Libraries in Go -
…It also looks like there is a maintained fork[1], but no clue with regards to the quality. [1]: https://github.com/golang/groupcache/issues/158#issuecomment...
comment by stock_toaster · 2024-10-11 · in Show HN: Pocache, preemptive optimistic caching for Go -
It's using singleflight which was later on added to the Go std lib: https://github.com/golang/groupcache/tree/master/singlefligh... https://pkg.go.dev/golang.org/x/sync/singleflight
comment by Thaxll · 2024-10-11 · in Show HN: Pocache, preemptive optimistic caching for Go -
…routines attempting to query the same key make one fetch between them and share the same result. https://github.com/golang/groupcache?tab=readme-ov-file#load...
comment by bww · 2024-10-11 · in Show HN: Pocache, preemptive optimistic caching for Go -
I really enjoyed google's https://github.com/golang/groupcache . Learned both about the language, and quality network application design, in a small package.
comment by ximus · 2021-01-17 · in Ask HN: Which are the best Go repositories to read to learn the language? -
…Or in-process distributed rate limiting: https://github.com/mailgun/gubernator https://github.com/golang/groupcache : groupcache is in production use by dl.google.com (its original user), parts of Blogger, parts of Google Code, parts of
comment by ddorian43 · 2020-08-10 · in Olric: Distributed in-memory data structures in Go -
…is an b-tree based on-disk key/value store and it's not distributed. Olric can be compared with https://github.com/golang/groupcache and it's highly inspired by Amazon DynamoDB paper and Hazelcast.
comment by mastabadtomm · 2020-02-11 · in Distributed cache and K/V store in Go. Embeddable or independent service -
Here is the code for groupcache: https://github.com/golang/groupcache There is no "distributed mode" as far as I can see. It is an in memory library for a K/V cache that you use in your code. That's it.
comment by eternalban · 2019-09-23 · in Ristretto: A High Performance, Concurrent, Memory-Bound Go Cache -
…However, it uses its own in-memory cache on your app servers instead of an external cache service. https://github.com/golang/groupcache https://news.ycombinator.com/item?id=6121501 https://talks.golang.org/2013/oscon-dl.slide#43
comment by technoweenie · 2019-04-17 · in Thundering Herds and Promises -
…thousand line of code C++ system at google. Why do you think Golang fiber/gorotine are worse ? (1) https://github.com/golang/groupcache
comment by skyde · 2019-01-10 · in Thoughts on Rust, a few thousand lines in -
…and distributed systems run on top of. Raft ( https://github.com/goraft/raft ) and groupcache ( https://github.com/golang/groupcache ) come to mind as examples. That's a good point though. A lot of people mean different things by systems…
comment by mustpax · 2014-06-29 · in Why Go Is Not Good -
Exactly. "...this isn't a database" :/ Distributed caches aren't new either. [e.g. https://github.com/golang/groupcache ] Can we get a title change to something that labels it a Distributed Cache? [e.g. Shown HN: gun – Massively…
comment by opendais · 2014-04-14 · in Gun – Distributed, embedded graph engine -
…[2] http://www.linuxvirtualserver.org [3] http://basho.com/riak/ [4] https://github.com/golang/groupcache
comment by SEJeff · 2014-02-16 · in Losing graciously -
https://github.com/golang/groupcache/blob/master/sinks.go#L5... Uh oh. The dreaded cast we see here http://how-bazaar.blogspot.co.nz/2013/07/stunned-by-go.html
comment by azth · 2013-07-30 · in Groupcache: an alternative to memcached, written in Go -
…method. The size of each group's cache is set when created via NewGroup[1]. -- [1] http://godoc.org/github.com/golang/groupcache#NewGroup
comment by lcampbell · 2013-07-29 · in Groupcache: an alternative to memcached, written in Go -
…your Go application, it's not going to have a man page. It already has API documentation: http://godoc.org/github.com/golang/groupcache
comment by kisielk · 2013-07-27 · in Porting dl.google.com from C++ to Go -
…rewrite, groupcache[2]. [1]: https://groups.google.com/forum/#!searchin/golang-nuts/dl.go... [2]: https://github.com/golang/groupcache
comment by conroy · 2013-07-26 · in Porting dl.google.com from C++ to Go -
See also https://github.com/golang/groupcache for the peer-to-peer memcached replacement mentioned in the slides.
comment by packetslave · 2013-07-26 · in Porting dl.google.com from C++ to Go