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

Issue 2513253002: impl/cloud: Add support for "memcached" memcache. (Closed)

Created:
4 years, 1 month ago by dnj
Modified:
4 years ago
Reviewers:
iannucci
CC:
chromium-reviews, infra-reviews+luci-gae_chromium.org
Target Ref:
refs/heads/master
Project:
luci-gae
Visibility:
Public.

Description

impl/cloud: Add support for "memcached" memcache. Add "memcache" service support to "impl/cloud" backed by a "memcached" cluster. This enables a full dscache-backed datastore to be implemneted using "impl/cloud", as well as other services that need memcache to operate. Update the "impl/cloud" interface to start with a service Config and install services from that. BUG=None TEST=local - Started "memcached" server, tested against it. Committed: https://github.com/luci/gae/commit/a9451708f36e28488bea90aab94ce84153ead26f

Patch Set 1 #

Patch Set 2 : Namespace all keys to luci/gae/impl/cloud. #

Total comments: 10

Patch Set 3 : Added key hashing threshold. #

Patch Set 4 : Add test for key hasing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+691 lines, -15 lines) Patch
M impl/cloud/context.go View 1 chunk +56 lines, -13 lines 0 comments Download
M impl/cloud/datastore_test.go View 2 chunks +3 lines, -2 lines 0 comments Download
A impl/cloud/memcache.go View 1 2 1 chunk +296 lines, -0 lines 0 comments Download
A impl/cloud/memcache_test.go View 1 2 3 1 chunk +336 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
dnj
PTAL
4 years, 1 month ago (2016-11-19 18:29:39 UTC) #2
iannucci
typo in commit message
4 years, 1 month ago (2016-11-20 19:13:59 UTC) #3
iannucci
https://codereview.chromium.org/2513253002/diff/20001/impl/cloud/context.go File impl/cloud/context.go (right): https://codereview.chromium.org/2513253002/diff/20001/impl/cloud/context.go#newcode28 impl/cloud/context.go:28: type Config struct { This feels kinda wrong; there ...
4 years, 1 month ago (2016-11-20 19:35:17 UTC) #4
dnj
https://codereview.chromium.org/2513253002/diff/20001/impl/cloud/context.go File impl/cloud/context.go (right): https://codereview.chromium.org/2513253002/diff/20001/impl/cloud/context.go#newcode28 impl/cloud/context.go:28: type Config struct { On 2016/11/20 19:35:16, iannucci wrote: ...
4 years, 1 month ago (2016-11-20 22:28:47 UTC) #5
dnj
PTAL. I added the key hashing threshold, rest is the same. https://codereview.chromium.org/2513253002/diff/20001/impl/cloud/memcache.go File impl/cloud/memcache.go (right): ...
4 years, 1 month ago (2016-11-21 05:24:33 UTC) #6
dnj
(friendly ping)
4 years ago (2016-11-23 16:45:01 UTC) #7
iannucci
lgtm https://codereview.chromium.org/2513253002/diff/20001/impl/cloud/memcache.go File impl/cloud/memcache.go (right): https://codereview.chromium.org/2513253002/diff/20001/impl/cloud/memcache.go#newcode251 impl/cloud/memcache.go:251: // namespace, so Flush will flush all memcache. ...
4 years ago (2016-11-23 21:14:37 UTC) #8
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/2513253002/60001
4 years ago (2016-11-24 01:04:47 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: Luci-GAE Linux Trusty 64 Tester on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/32acb12e8952fa10)
4 years ago (2016-11-24 01:09:58 UTC) #12
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/2513253002/60001
4 years ago (2016-11-24 05:21:53 UTC) #14
commit-bot: I haz the power
4 years ago (2016-11-24 05:25:30 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://github.com/luci/gae/commit/a9451708f36e28488bea90aab94ce84153ead26f

Powered by Google App Engine
This is Rietveld 408576698