Flagsmith / Flagsmith/flagsmith

experimentation: unify clickhouse connection management under Django DB aliases

Open
#8,033 0 comments 0 reactions 1 assignee Claimed by @gagantrivedi View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.