Raise Java Http KeepAlive Cache Size
Open
dataflow
improvement
P2
runners
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
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".
Imported from Jira [BEAM-14437](https://issues.apache.org/jira/browse/BEAM-14437). Original Jira may contain additional context.
Reported by: arunpandianp.
Contributor guide
Assessment
This issue has not been assessed yet.