Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Issue 2573403002: server/config: Generic caching backend. (Closed)

Created:
4 years ago by dnj
Modified:
3 years, 11 months ago
Reviewers:
iannucci
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, maruel+w_chromium.org, tandrii+luci-go_chromium.org
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

server/config: Generic caching backend. Add a generic caching backend. The backend works by reducing config service operations to unique cache keys and supporting various utility serialization/deserialization methods. The cache package is currently implemented for "proccache", which uses the process cache to store configurations. Other cache implementations will also use this package. BUG=chromium:674378 TEST=unit Review-Url: https://codereview.chromium.org/2573403002 Committed: https://github.com/luci/luci-go/commit/ae167b8559d9a2e0de3210b4dea1c665ae25d6d4

Patch Set 1 #

Total comments: 19

Patch Set 2 : Updated interface, rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1199 lines, -0 lines) Patch
A luci_config/server/cfgclient/backend/caching/codec.go View 1 1 chunk +85 lines, -0 lines 0 comments Download
A luci_config/server/cfgclient/backend/caching/codec_test.go View 1 1 chunk +31 lines, -0 lines 0 comments Download
A luci_config/server/cfgclient/backend/caching/config.go View 1 1 chunk +517 lines, -0 lines 0 comments Download
A luci_config/server/cfgclient/backend/caching/config_test.go View 1 1 chunk +411 lines, -0 lines 0 comments Download
A luci_config/server/cfgclient/backend/caching/doc.go View 1 1 chunk +17 lines, -0 lines 0 comments Download
A luci_config/server/cfgclient/backend/caching/proccache.go View 1 1 chunk +56 lines, -0 lines 0 comments Download
A luci_config/server/cfgclient/backend/caching/proccache_test.go View 1 1 chunk +82 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 10 (4 generated)
dnj
PTAL. Full stack is: https://codereview.chromium.org/2580713002 (base) https://codereview.chromium.org/2578893002 (textproto) https://codereview.chromium.org/2576993002 (access) https://codereview.chromium.org/2576343002 (erroring) https://codereview.chromium.org/2582433002 (test) https://codereview.chromium.org/2573403002 ...
4 years ago (2016-12-15 05:11:25 UTC) #2
iannucci
lgtm https://codereview.chromium.org/2573403002/diff/1/server/config/caching/codec.go File server/config/caching/codec.go (right): https://codereview.chromium.org/2573403002/diff/1/server/config/caching/codec.go#newcode20 server/config/caching/codec.go:20: func Encode(v interface{}) ([]byte, error) { maybe EncodeJSONZlib ...
3 years, 11 months ago (2017-01-07 20:53:17 UTC) #3
dnj
Updated, PTAL https://codereview.chromium.org/2573403002/diff/1/server/config/caching/codec.go File server/config/caching/codec.go (right): https://codereview.chromium.org/2573403002/diff/1/server/config/caching/codec.go#newcode20 server/config/caching/codec.go:20: func Encode(v interface{}) ([]byte, error) { On ...
3 years, 11 months ago (2017-01-10 03:29:17 UTC) #4
iannucci
lgtm
3 years, 11 months ago (2017-01-11 02:56:24 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2573403002/20001
3 years, 11 months ago (2017-01-11 20:47:14 UTC) #7
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 20:53:34 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://github.com/luci/luci-go/commit/ae167b8559d9a2e0de3210b4dea1c665ae25d6d4

Powered by Google App Engine
This is Rietveld 408576698