You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Arun Pandian (Jira)" <ji...@apache.org> on 2022/04/11 07:08:00 UTC

[jira] [Created] (BEAM-14283) Reduce number of threads spawned by BigqueryIO StreamingInserts

Arun Pandian created BEAM-14283:
-----------------------------------

             Summary: 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


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)