Commit Graph

10 Commits

Author SHA1 Message Date
Derrick J. Wippler
ef54c5c13a
Update CHANGELOG 2022-01-06 12:31:23 -06:00
Derrick J. Wippler
ff66388131 Consistenthash improvements
* Now uses the much faster fnv1
* Now md5 hashs the keys to help distribute hosts more evenly in some
  cases.
2021-01-13 14:24:22 -06:00
Derrick J. Wippler
0b906d9259
Update CHANGELOG 2020-07-09 10:36:01 -05:00
Derrick J. Wippler
48a0ce2463 Get() now returns immediately when context is done
* `Get()` now returns immediately when context is done during a groupcache peer
  conversation. Previously `Get()` would call the `Getter` with a done context.
2019-06-10 14:16:39 -05:00
Derrick J. Wippler
b9bcb40345
Removed Release Candidate from Changelog 2019-06-04 17:07:29 -05:00
Derrick J. Wippler
76b3cd49b6 Reverted change to associate Transport to httpGetter.
This change caused a data race during async calls to groupcache.Get().
Also discovered `DefaultTransport` has per address connection pooling
only when the request was a success, which is sufficient for most use
cases.
2019-06-04 14:53:24 -05:00
Derrick J. Wippler
2869a0ce28 HTTPPoolOptions.Transport is now used instead of DefaultTransport when provided 2019-06-04 10:02:19 -05:00
Derrick J. Wippler
8b0de5a71a Changed module paths to reflect breaking change v2 2019-06-03 11:08:54 -05:00
Derrick J. Wippler
054f2178b4 Client keep-alives and hotcache changes
* Now Associating the transport with peer `httpGetter` so we take advantage of
  connection reuse.  This lowers the impact on DNS and improves preformance for
  high request volume low latency applications.
* Now always populating the hotcache. A more complex algorithm is unnecessary
  when the LRU cache will ensure the most used values remain in the cache. The
  evict code ensures the hotcache does not over crowd the maincache.
2019-06-03 10:20:40 -05:00
Derrick J. Wippler
9a873a72e5 Added a CHANGELOG file 2019-05-30 17:24:49 -05:00