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
ClickHouse connections are managed two ways:
segment_membershipgoes through the Djangoconnections["clickhouse"]alias whileexperimentationshares one rawclickhouse_driver.Clientprocess-wide via@lru_cache(api/experimentation/services.py)we should look into managing clickhouse connections for experimentation through django