-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Open several writers to increase BigQuery throughput
Before this PR, the loader opened a single `JsonStreamWriter`, and therefore a single stream (single bidirectional RPC). We observed the loader seems to hit a bottleneck where it cannot write into BigQuery quickly enough. After this PR, the loader opens a configurable number of streams, which is expected to prevent the bottleneck. This implementation closely follows a similar change we made in the snowflake loader: snowplow-incubator/snowflake-loader#57
- Loading branch information
Showing
3 changed files
with
57 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters