Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core: REST HttpClient connections config #9195

Merged
merged 1 commit into from
Dec 2, 2023

Conversation

danielcweeks
Copy link
Contributor

The default config for http connections is only 25 connections and 5 per host. Since the REST client is typically talking to a single host, the number of connections allowed is relatively small and can cause contention where the client is shared across multiple running jobs (Spark/Trino/Kafka Connect, etc.).

This PR increases the defaults and allows for configuring the values. The pool grows dynamically as connections are needed and reused if available, so higher defaults should not impact typical usage, but allows for growth if there is contention.

@danielcweeks danielcweeks merged commit 09a8ad5 into apache:main Dec 2, 2023
45 checks passed
lisirrx pushed a commit to lisirrx/iceberg that referenced this pull request Jan 4, 2024
devangjhabakh pushed a commit to cdouglas/iceberg that referenced this pull request Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants