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

Side by Side Diff: common/proto/logdog/svcconfig/config.proto

Issue 1838803002: LogDog: BigTable batching schema. (Closed) Base URL: https://github.com/luci/luci-go@recordio-split
Patch Set: Minor comments and quality of code tweaks. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « common/proto/logdog/logpb/butler.pb.go ('k') | common/proto/logdog/svcconfig/config.pb.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 syntax = "proto3"; 5 syntax = "proto3";
6 6
7 package svcconfig; 7 package svcconfig;
8 8
9 import "transport.proto"; 9 import "transport.proto";
10 import "storage.proto"; 10 import "storage.proto";
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // moved out of intermediate storage. 64 // moved out of intermediate storage.
65 // 65 //
66 // This must be >= `archive_delay`, and should be fairly large (days) to allow 66 // This must be >= `archive_delay`, and should be fairly large (days) to allow
67 // for the log stream to complete and for all available log entries to be 67 // for the log stream to complete and for all available log entries to be
68 // added to intermediate storage. 68 // added to intermediate storage.
69 google.protobuf.Duration archive_delay_max = 32; 69 google.protobuf.Duration archive_delay_max = 32;
70 } 70 }
71 71
72 // Collector is the set of configuration parameters for Collector instances. 72 // Collector is the set of configuration parameters for Collector instances.
73 message Collector { 73 message Collector {
74 // Workers is the number of ingest workers to run. 74 // The maximum number of concurrent transport messages to process. If <= 0,
75 int32 workers = 1; 75 // a default will be chosen based on the transport.
76 int32 max_concurrent_messages = 1;
76 77
77 // The number of transport worker goroutines to run. 78 // The maximum number of concurrent workers to process each ingested message.
78 int32 transport_workers = 2; 79 // If <= 0, collector.DefaultMaxMessageWorkers will be used.
80 int32 max_message_workers = 2;
79 81
80 // The maximum number of log stream states to cache locally. If <= 0, a 82 // The maximum number of log stream states to cache locally. If <= 0, a
81 // default will be used. 83 // default will be used.
82 int32 state_cache_size = 3; 84 int32 state_cache_size = 3;
83 85
84 // The maximum amount of time that cached stream state is valid. If <= 0, a 86 // The maximum amount of time that cached stream state is valid. If <= 0, a
85 // default will be used. 87 // default will be used.
86 google.protobuf.Duration state_cache_expiration = 4; 88 google.protobuf.Duration state_cache_expiration = 4;
87 } 89 }
88 90
(...skipping 16 matching lines...) Expand all
105 // If not zero, the maximum number of log data bytes between index entries. 107 // If not zero, the maximum number of log data bytes between index entries.
106 int32 byte_range = 13; 108 int32 byte_range = 13;
107 } 109 }
108 110
109 // Configuration for the Janitor microservice. 111 // Configuration for the Janitor microservice.
110 message Janitor { 112 message Janitor {
111 // The number of tasks to run at a time. If blank, the janitor will choose a 113 // The number of tasks to run at a time. If blank, the janitor will choose a
112 // default value. 114 // default value.
113 int32 tasks = 1; 115 int32 tasks = 1;
114 } 116 }
OLDNEW
« no previous file with comments | « common/proto/logdog/logpb/butler.pb.go ('k') | common/proto/logdog/svcconfig/config.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698