Skip to content

Adjust defaults for concurrent_updates and conenction_pool_size #3125

@Bibo-Joshi

Description

@Bibo-Joshi

concurrent_updates defaults to 4096, while connection_pool_size defaults to 128. If there is more than 128 updates being processed in parallel, this will cause pool timeouts rather quickly (unless the pool timeout is set to a very high value).
I suggest to update the default values such that the connection pool size is bigger than the number of updates that are allowed to be processed in parallel. It could actually be bigger (not equal), as there can be even more concurrent requests spawned by e.g. jobs or asyncio/App.create_task.
Moreover, the documentation of should be extended a bit more to give hints on this connection between concurrent_updates, connection_pool_size and pool_timeout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions