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

Issue 2981143002: Add 'dsset' structure. (Closed)

Created:
3 years, 5 months ago by Vadim Sh.
Modified:
3 years, 4 months ago
Reviewers:
tandrii(chromium)
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

Add 'dsset' structure. It is a peculiar kind of datastore-backed set that is suitable for multiple producers, single consumer unordered queues. R=tandrii@chromium.org BUG=

Patch Set 1 #

Total comments: 52

Patch Set 2 : simple changes #

Patch Set 3 : add submitted #

Patch Set 4 : cleanup after pop + batch friendly #

Patch Set 5 : more agressive cleanup, better CanPop, comment nits #

Total comments: 3

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1322 lines, -75 lines) Patch
M scheduler/appengine/engine/cron/demo/main.go View 1 2 3 4 5 5 chunks +317 lines, -53 lines 0 comments Download
A scheduler/appengine/engine/cron/demo/queue.yaml View 1 chunk +21 lines, -0 lines 0 comments Download
A scheduler/appengine/engine/dsset/dsset.go View 1 2 3 4 1 chunk +583 lines, -0 lines 0 comments Download
A scheduler/appengine/engine/dsset/dsset_test.go View 1 2 3 4 1 chunk +279 lines, -0 lines 0 comments Download
M scheduler/appengine/engine/internal/tq_tasks.proto View 1 chunk +19 lines, -1 line 0 comments Download
M scheduler/appengine/engine/internal/tq_tasks.pb.go View 3 chunks +103 lines, -21 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 8 (1 generated)
Vadim Sh.
PTAL Please concentrate of dsset.go I probably will not be committing the rest of this ...
3 years, 5 months ago (2017-07-17 18:27:25 UTC) #1
tandrii(chromium)
I need another pass through code, but makes good sense now + thanks for good ...
3 years, 5 months ago (2017-07-18 15:55:15 UTC) #2
tandrii(chromium)
I've finished review of dsset and its test, but not reviewing other files. https://codereview.chromium.org/2981143002/diff/1/scheduler/appengine/engine/dsset/dsset.go File ...
3 years, 5 months ago (2017-07-18 17:54:19 UTC) #3
tandrii(chromium)
https://codereview.chromium.org/2981143002/diff/1/scheduler/appengine/engine/cron/demo/main.go File scheduler/appengine/engine/cron/demo/main.go (right): https://codereview.chromium.org/2981143002/diff/1/scheduler/appengine/engine/cron/demo/main.go#newcode190 scheduler/appengine/engine/cron/demo/main.go:190: func runTriage(c context.Context, jobID string) error { Do IIC ...
3 years, 5 months ago (2017-07-21 13:42:53 UTC) #4
Vadim Sh.
I refactored CleanupStorage and Pop to be batch-friendly (they can batch together operations for different ...
3 years, 5 months ago (2017-07-24 00:30:18 UTC) #5
tandrii(chromium)
https://codereview.chromium.org/2981143002/diff/1/scheduler/appengine/engine/cron/demo/main.go File scheduler/appengine/engine/cron/demo/main.go (right): https://codereview.chromium.org/2981143002/diff/1/scheduler/appengine/engine/cron/demo/main.go#newcode190 scheduler/appengine/engine/cron/demo/main.go:190: func runTriage(c context.Context, jobID string) error { On 2017/07/24 ...
3 years, 4 months ago (2017-07-31 18:58:46 UTC) #6
Vadim Sh.
3 years, 4 months ago (2017-08-15 01:39:14 UTC) #7

Powered by Google App Engine
This is Rietveld 408576698