Make the ClickHouse connection limit configurable
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- clickhouse, typescript
Research direction
Start at the @clickhouse/client initialization and the existing environment-setting entry point. Verify that the optional setting accepts only positive integers and is passed as max_open_connections when present. Done means the client default remains unchanged when unset and the per-instance pool behavior is documented.
Written by the indexing model from the issue text.
Description
Problem
Umami uses @clickhouse/client's default limit of 10 open connections per server instance. At higher ingestion rates, that fixed pool can become a bottleneck even when ClickHouse has available capacity.
Proposed behavior
Add an optional positive-integer CLICKHOUSE_MAX_OPEN_CONNECTIONS setting and pass it as max_open_connections. Keep the client default when unset, and document that each Umami instance has its own pool.
AI assistance disclosure: This issue and the proposed implementation were prepared with AI assistance and reviewed by Arthur Braga Alfredo.
- Dominant language
- TypeScript
- Stars
- 38.9k
- Forks
- 8.1k
- Avg merge
- 5d 19h
- Merged PRs (30d)
- 21
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from umami-software/umami
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
umami-software/umami#4552 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
umami-software/umami#4526 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
umami-software/umami#4473 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
umami-software/umami#4555 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
umami-software/umami#4549 ·
All issues in umami-software/umami
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100