Home / Companies / ClickHouse / Blog / Post Details
Content Deep Dive

Replica-aware routing public beta

Blog post from ClickHouse

Post Details
Company
Date Published
Author
-
Word Count
1,594
Company Posts That Month
39
Language
English
Hacker News Points
-
Post removed?
No
Summary

ClickHouse Cloud’s replica-aware routing, available in public beta for Enterprise customers, keeps related requests directed to the same replica by consistently hashing a user-provided routing key. This addresses issues in multi-replica deployments where temporary tables, named sessions, local caches, recent writes, or schema changes may exist on one replica before being visible on others. HTTP clients can provide an `X-ClickHouse-Replica-Tag` header, while native clients can use a TLS SNI override that separates the routing hostname from certificate validation. Built using Istio and Envoy, the feature evolved from an impractical subdomain-based approach and avoids using ClickHouse session IDs because they permit only one query at a time. Replica-aware routing can improve read-after-write behavior and cache locality, but it is best-effort rather than guaranteed, as upgrades, restarts, or scaling can remap keys to different replicas; it also directs traffic without providing workload isolation.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Data Pipeline 1 273 146 76 -30%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.