Update bigquery libraries to have a configurable batch size |
||
Issue descriptionMaximum rows per request: 10,000 rows per request. eventupload batches rows per request, ensuring that no more than 10,000 rows are sent per request. BigQuery recommends using 500 as a practical limit, and experimenting with your specific schema and data sizes to determine the batch size with the ideal balance of throughput and latency for your use case. There is a bug to modify infra/libs/bigquery to batch rows. We should modify the libraries to allow custom batch sizes, and to use a default batch size of 500.
,
Jan 5 2018
The following revision refers to this bug: https://chromium.googlesource.com/infra/infra/+/c210229a52f28a6190f6bdb21e9049fc31b49dfe commit c210229a52f28a6190f6bdb21e9049fc31b49dfe Author: Katie Thomas <katthomas@google.com> Date: Fri Jan 05 16:27:25 2018 [infra/libs/bigquery] batch rows Bug: 798448 Change-Id: I76be84ed08ad37f8aeebe0b556c3348959be50cf Reviewed-on: https://chromium-review.googlesource.com/847691 Commit-Queue: Katie Thomas <katthomas@google.com> Reviewed-by: Nodir Turakulov <nodir@chromium.org> [modify] https://crrev.com/c210229a52f28a6190f6bdb21e9049fc31b49dfe/infra/libs/bigquery/helper.py [modify] https://crrev.com/c210229a52f28a6190f6bdb21e9049fc31b49dfe/infra/libs/bigquery/test/helper_test.py
,
Jan 6 2018
The following revision refers to this bug: https://chromium.googlesource.com/infra/infra/+/ecd05509bd0407cf90194ca08a9b0531b313b7b8 commit ecd05509bd0407cf90194ca08a9b0531b313b7b8 Author: Katie Thomas <katthomas@google.com> Date: Sat Jan 06 01:21:01 2018 [eventupload] allow batch size to be configured Bug:798448 Change-Id: Ie4e54dea06e10a6230dec7d8d8ca6bb3d15da912 Reviewed-on: https://chromium-review.googlesource.com/847643 Commit-Queue: Katie Thomas <katthomas@google.com> Reviewed-by: Nodir Turakulov <nodir@chromium.org> [modify] https://crrev.com/ecd05509bd0407cf90194ca08a9b0531b313b7b8/go/src/infra/libs/eventupload/eventupload.go
,
Jan 6 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by katthomas@chromium.org
, Jan 2 2018