Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-14437

Raise Java Http KeepAlive Cache Size

Details

    • Improvement
    • Status: Open
    • P2
    • Resolution: Unresolved
    • None
    • None
    • runner-dataflow
    • None

    Description

      Java HTTP[S]Connection's keep alive by default keeps 5 idle connections alive. Dataflow user workers could make 1000s of connection to the same endpoint. The HTTPS handshake overhead is significant in pipelines using BigQueryIO streaming inserts and bumping up the keep alive limit reduces it. The keep alive connection count can be changed by setting the JVM system property "http.maxConnections". 

      Attachments

        Issue Links

          Activity

            People

              arunpandianp Arun Pandian
              arunpandianp Arun Pandian
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m