Skip to content

Create new clickhouse_driver.Clients for each ClickHouseChain #14

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

Closed
michaelosthege opened this issue Dec 22, 2021 · 0 comments · Fixed by #22
Closed

Create new clickhouse_driver.Clients for each ClickHouseChain #14

michaelosthege opened this issue Dec 22, 2021 · 0 comments · Fixed by #22
Labels
enhancement New feature or request

Comments

@michaelosthege
Copy link
Member

michaelosthege commented Dec 22, 2021

That's the recommendation to get good performance, most importantly when working with multiple threads.

See https://clickhouse-driver.readthedocs.io/en/latest/quickstart.html#async-and-multithreading

To avoid having dangling client connections, this be implemented with a disposal mechanism (see #13).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant