[
https://issues.apache.org/jira/browse/BEAM-14283?focusedWorklogId=757476&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-757476
]
ASF GitHub Bot logged work on BEAM-14283:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 15/Apr/22 18:44
Start Date: 15/Apr/22 18:44
Worklog Time Spent: 10m
Work Description: pabloem commented on PR #17333:
URL: https://github.com/apache/beam/pull/17333#issuecomment-1100287311
LGTM thanks all. @arunpandianp please make sure to share any testing outcome
form this.
Issue Time Tracking
-------------------
Worklog Id: (was: 757476)
Time Spent: 1h 10m (was: 1h)
> Reduce number of threads spawned by BigqueryIO StreamingInserts
> ---------------------------------------------------------------
>
> Key: BEAM-14283
> URL: https://issues.apache.org/jira/browse/BEAM-14283
> Project: Beam
> Issue Type: Improvement
> Components: io-java-gcp
> Reporter: Arun Pandian
> Assignee: Arun Pandian
> Priority: P2
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> BigqueryIO's BoundedExecutorService is creating many new threads. It can be
> optimized by acquiring the involved semaphore before task submission instead
> of after inside the runnable.
> ref:https://github.com/apache/beam/blob/5603bd310a63fa35082e6bc6b06c7fecc90e77d7/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryServicesImpl.java#L1676
--
This message was sent by Atlassian Jira
(v8.20.1#820001)