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

Issue 2779323002: token-server: Warmup some local caches in /_ah/warmup. (Closed)

Created:
3 years, 8 months ago by Vadim Sh.
Modified:
3 years, 8 months ago
Reviewers:
iannucci, nodir
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

token-server: Warmup some local caches in /_ah/warmup. Removes some datastore and memcache ops from first served request. R=iannucci@chromium.org, nodir@chromium.org BUG= Review-Url: https://codereview.chromium.org/2779323002 Committed: https://github.com/luci/luci-go/commit/f8f69fd1d13eb65482aef7a11d42672a8bc6daad

Patch Set 1 #

Total comments: 4

Patch Set 2 : also warmup delegation config #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -25 lines) Patch
M tokenserver/appengine/impl/certchecker/warmup.go View 1 1 chunk +23 lines, -2 lines 0 comments Download
M tokenserver/appengine/impl/certconfig/ca.go View 1 chunk +14 lines, -0 lines 0 comments Download
M tokenserver/appengine/impl/certconfig/ca_test.go View 2 chunks +22 lines, -0 lines 0 comments Download
M tokenserver/appengine/impl/certconfig/rpc_list_cas.go View 2 chunks +3 lines, -13 lines 0 comments Download
M tokenserver/appengine/impl/certconfig/warmup.go View 1 chunk +3 lines, -1 line 0 comments Download
M tokenserver/appengine/impl/delegation/config.go View 1 1 chunk +7 lines, -3 lines 0 comments Download
M tokenserver/appengine/impl/delegation/config_test.go View 1 1 chunk +1 line, -1 line 0 comments Download
A + tokenserver/appengine/impl/delegation/warmup.go View 1 2 chunks +4 lines, -4 lines 0 comments Download
M tokenserver/appengine/impl/services/minter/tokenminter/service.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (6 generated)
Vadim Sh.
PTAL https://codereview.chromium.org/2779323002/diff/1/tokenserver/appengine/impl/certconfig/ca.go File tokenserver/appengine/impl/certconfig/ca.go (right): https://codereview.chromium.org/2779323002/diff/1/tokenserver/appengine/impl/certconfig/ca.go#newcode75 tokenserver/appengine/impl/certconfig/ca.go:75: func ListCAs(c context.Context) ([]string, error) { this is ...
3 years, 8 months ago (2017-03-29 21:12:57 UTC) #1
nodir
lgtm https://codereview.chromium.org/2779323002/diff/1/tokenserver/appengine/impl/certchecker/warmup.go File tokenserver/appengine/impl/certchecker/warmup.go (right): https://codereview.chromium.org/2779323002/diff/1/tokenserver/appengine/impl/certchecker/warmup.go#newcode28 tokenserver/appengine/impl/certchecker/warmup.go:28: logging.WithError(err).Warningf(c, "Failed to warm up %q", cn) why ...
3 years, 8 months ago (2017-03-29 21:45:06 UTC) #2
Vadim Sh.
https://codereview.chromium.org/2779323002/diff/1/tokenserver/appengine/impl/certchecker/warmup.go File tokenserver/appengine/impl/certchecker/warmup.go (right): https://codereview.chromium.org/2779323002/diff/1/tokenserver/appengine/impl/certchecker/warmup.go#newcode28 tokenserver/appengine/impl/certchecker/warmup.go:28: logging.WithError(err).Warningf(c, "Failed to warm up %q", cn) On 2017/03/29 ...
3 years, 8 months ago (2017-03-29 21:49:30 UTC) #3
Vadim Sh.
https://codereview.chromium.org/2779323002/diff/1/tokenserver/appengine/impl/certchecker/warmup.go File tokenserver/appengine/impl/certchecker/warmup.go (right): https://codereview.chromium.org/2779323002/diff/1/tokenserver/appengine/impl/certchecker/warmup.go#newcode28 tokenserver/appengine/impl/certchecker/warmup.go:28: logging.WithError(err).Warningf(c, "Failed to warm up %q", cn) On 2017/03/29 ...
3 years, 8 months ago (2017-03-29 23:46:02 UTC) #4
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/2779323002/20001
3 years, 8 months ago (2017-03-29 23:46:16 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: Luci-go Presubmit on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/35354a9030defb10)
3 years, 8 months ago (2017-03-29 23:51:26 UTC) #9
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/2779323002/20001
3 years, 8 months ago (2017-03-29 23:58:15 UTC) #11
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 00:06:10 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://github.com/luci/luci-go/commit/f8f69fd1d13eb65482aef7a11d42672a8bc6daad

Powered by Google App Engine
This is Rietveld 408576698