mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-14 08:52:56 +00:00
## Problem The ABS SDK's default behavior is to do no connection pooling, i.e. open and close a fresh connection for each request. Under high request rates, this can result in an accumulation of TCP connections in TIME_WAIT or CLOSE_WAIT state, and in extreme cases exhaustion of client ports. Related: https://github.com/neondatabase/cloud/issues/20971 ## Summary of changes - Add a configurable `conn_pool_size` parameter for Azure storage, defaulting to zero (current behavior) - Construct a custom reqwest client using this connection pool size.
49 lines
1.4 KiB
TOML
49 lines
1.4 KiB
TOML
[package]
|
|
name = "remote_storage"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-trait.workspace = true
|
|
async-stream.workspace = true
|
|
once_cell.workspace = true
|
|
aws-smithy-async.workspace = true
|
|
aws-smithy-types.workspace = true
|
|
aws-config.workspace = true
|
|
aws-sdk-s3.workspace = true
|
|
bytes.workspace = true
|
|
camino = { workspace = true, features = ["serde1"] }
|
|
humantime-serde.workspace = true
|
|
hyper = { workspace = true, features = ["client"] }
|
|
futures.workspace = true
|
|
reqwest.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
tokio = { workspace = true, features = ["sync", "fs", "io-util"] }
|
|
tokio-stream.workspace = true
|
|
tokio-util = { workspace = true, features = ["compat"] }
|
|
toml_edit.workspace = true
|
|
tracing.workspace = true
|
|
scopeguard.workspace = true
|
|
metrics.workspace = true
|
|
utils.workspace = true
|
|
pin-project-lite.workspace = true
|
|
|
|
azure_core.workspace = true
|
|
azure_identity.workspace = true
|
|
azure_storage.workspace = true
|
|
azure_storage_blobs.workspace = true
|
|
futures-util.workspace = true
|
|
http-types.workspace = true
|
|
http-body-util.workspace = true
|
|
itertools.workspace = true
|
|
sync_wrapper = { workspace = true, features = ["futures"] }
|
|
|
|
[dev-dependencies]
|
|
camino-tempfile.workspace = true
|
|
test-context.workspace = true
|
|
rand.workspace = true
|
|
tokio = { workspace = true, features = ["test-util"] }
|