cortex icon indicating copy to clipboard operation
cortex copied to clipboard

Make distributors/ingesters aware of availability zones

Open bboreham opened this issue 9 years ago • 4 comments

Suppose your replication-factor is about the same as the number of AZs. You'd prefer that replicas for any particular write were spread across all the AZs.

I have no idea how hard this is.

bboreham avatar Nov 23 '17 13:11 bboreham

Cassandra does this with topology-aware snitches[1] and replication strategies[2]

[1] https://docs.datastax.com/en/cassandra/2.1/cassandra/architecture/architectureSnitchesAbout_c.html [2] https://docs.datastax.com/en/cassandra/2.1/cassandra/architecture/architectureDataDistributeReplication_c.html

tomwilkie avatar Feb 19 '18 22:02 tomwilkie

I believe Kafka's approach is similarly to Cassandra's. They attach a Rack ID on each broker pod (which would be the identifier for a AV Zone): https://issues.apache.org/jira/browse/KAFKA-1215

weeco avatar May 17 '19 19:05 weeco

This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 03 '20 11:02 stale[bot]

going to revive this issue and do some investigating

khaines avatar Mar 19 '20 15:03 khaines