summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-31add back Context type as alias to context.Context (#148)upstream-masterJoe Tsai
Pull request #131 deleted the Context declaration, which broke most usages of this package since users needed to implement the interfaces mentioned in this package by referencing the groupcache.Context type. However, that type was removed from peers.go in the mentioned pull request. Technically, #131 is a breaking change since groupcache.Context was an interface{}, and the PR switched it to be context.Context. Fortunately, it seems that all users are passing a context.Context anyways so that the type safety just checks out. However, most users are still referencing groupcache.Context.
2020-01-20http: make http client request with context (#132)Bobby DeSimone
* http: make request with context - use ctx naming convention - use context.TODO() instead of nil Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
2019-12-26use std library context.Context (#131)Bobby DeSimone
Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
2019-10-27format error string as per go style (#127)Aditya Harindar
2019-10-25Fix function comments based on best practices from Effective GoCodeLingo Bot
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
2019-10-02Make it clearer that groupcache is distributedSolomon Boulos
2019-07-01groupcache.go: fix misspellingmaru
2019-01-29lru: fix misspelling (#112)Sean Chen
2018-10-24Merge pull request #107 from HaraldNordgren/masterBrad Fitzpatrick
Bump Travis versions
2018-10-20Bump Travis versionsHarald Nordgren
2018-09-24Merge pull request #105 from Daniel-B-Smith/patch-1Brad Fitzpatrick
Fix typo in test name.
2018-09-24Fix typo in test name.Daniel Smith
2018-05-12Merge pull request #98 from kevinburke/travisBrad Fitzpatrick
Add travis.yml
2018-05-12Add travis.ymlKevin Burke
This will run automated tests against PR's for the groupcache library.
2018-02-03Merge pull request #88 from EdwardBetts/spellingBrad Fitzpatrick
correct spelling mistake
2017-11-01Merge pull request #90 from lorneli/lru-devBrad Fitzpatrick
lru: add evict test
2017-10-31lru: add evict testlorneli
Test evict cached keys in least-recently-used way.
2017-09-01correct spelling mistakeEdward Betts
2017-04-20Merge pull request #80 from luciferous/writetoBrad Fitzpatrick
Implement WriterTo
2017-03-02Implement WriterToNeuman Vong
Avoids allocation/copy when writing byteview to a writer.
2017-01-09Merge pull request #78 from elimisteve/patch-2Brad Fitzpatrick
http.go: Added missing word from NewHTTPPool docs
2017-01-09http.go: Added missing word from NewHTTPPool docsSteve Phillips
2017-01-04Merge pull request #76 from dakerfp/patch-1Brad Fitzpatrick
Add Clear methods to lru cache
2016-12-23Add Clear methods to lru cacheDaker Fernandes Pinheiro
2016-12-16Align Group.Stats properly for 32-bit platforms.Brad Fitzpatrick
Fixes golang/go#18334
2016-08-03Merge pull request #70 from skyportsystems/perGroupPeerPicker4.1Brad Fitzpatrick
portPicker function now takes group name
2016-08-03portPicker function now takes group name, RegisterPerGroupPeerPicker added ↵Matthew Denton
to set this function
2016-05-15Merge pull request #65 from shawnps/patch-2Brad Fitzpatrick
fix typos
2016-05-15fix typosShawn Smith
2016-02-11testpb: add syntax declaration to proto fileBrad Fitzpatrick
Required for Google's internal build system.
2016-02-11groupcachepb: add syntax declaration to proto fileBrad Fitzpatrick
Required for Google's internal build system. Change-Id: I7cc7b1ffab9f4405715eeb675df3bf3bea85f107
2016-02-08Merge pull request #63 from pierrre/masterAndrew Gerrand
use passed options
2016-02-08use passed optionsPierre Durand
2016-01-27Fixes a concurrency error in groupcache. Previously, multiple GetTipp Moseley
requests could simultaneously result in a load(). Only requests that enter singleflight Do concurrently would be deduped, so it was possible for populateCache to be called multiple times for the same key. That would result in overcounting nbytes, and eventually leading to a livelock where nbytes > cacheBytes, but there were no entries in the cache. Change-Id: I5b304ce82041c1310c31b662486744e86509cc53
2015-01-25Merge pull request #41 from shawnps/patch-1Brad Fitzpatrick
fix wrong number of args for format in Errorf call
2015-01-25fix wrong number of args for format in Errorf callShawn Smith
2014-12-23Merge pull request #28 from ryanslade/reduce-allocationsBrad Fitzpatrick
Reduce allocations
2014-12-16Reduce allocationsRyan Slade
Store temporary buffers in a sync.Pool. Create one httpGetter per peer when Set() is called so we don't allocate a new one on each call PickPeer().
2014-11-25Merge pull request #40 from ukai/protobufAndrew Gerrand
goprotobuf has moved to GitHub
2014-11-25goprotobuf has moved to GitHubFumitoshi Ukai
code.google.com/p/goprotobuf to github.com/golang/groupcache
2014-10-20Merge pull request #33 from fumin/masterAndrew Gerrand
allow all options of HTTPPool to be specified by users
2014-10-20allow all options of HTTPPool to be specified by usersawaw fumin
2014-07-09Merge pull request #30 from EverythingMe/fix_replicasAndrew Gerrand
changed default number of replicas in http pool hash ring to 50
2014-07-08changed default number of replicas in http pool hash ring to 50, and fixed ↵Dvir Volk
hash ring benchmark
2014-07-07Merge pull request #27 from EverythingMe/remove_extra_unescapingAndrew Gerrand
removed extra url-unescaping in http pool
2014-07-02Merge pull request #26 from dgryski/consistenthash-binary-searchBrad Fitzpatrick
consistenthash: replace linear search with binary search
2014-06-18removed extra unesacping in http pool that screwed up the keys we were usingDvir Volk
2014-06-17consistenthash: replace linear search with binary searchDamian Gryski
The binary search quickly out-paces the linear search, even for a small number of shards and replicas. benchmark old ns/op new ns/op delta BenchmarkGet8 122 122 +0.00% BenchmarkGet32 471 137 -70.91% BenchmarkGet128 5619 254 -95.48% BenchmarkGet512 90302 406 -99.55%
2013-10-30Merge pull request #16 from Obvious/dpup-serverrequestsBrad Fitzpatrick
HTTPPool increments Group.Stats.ServerRequests
2013-10-16HTTPPool increments Group.Stats.ServerRequestsDan Pupius