Flagsmith / Flagsmith/flagsmith
experimentation: unify clickhouse connection management under Django DB aliases
Open
- Dominant language
- Python
- Stars
- 6.6k
- Forks
- 567
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 121
Description
ClickHouse connections are managed two ways: `segment_membership` goes through the Django `connections["clickhouse"]` alias while `experimentation` shares one raw `clickhouse_driver.Client` process-wide via `@lru_cache` (`api/experimentation/services.py`)
we should look into managing clickhouse connections for experimentation through django
Contributor guide
Assessment
This issue has not been assessed yet.