Understanding multi region read query and latency

2022-08-05 Thread Raphael Mazelier
Hi Cassandra Users, I'm relatively new to Cassandra and first I have to say I'm really impressed by the technology. Good design and a lot of stuff to understand the underlying (the Oreilly book help a lot as well as thelastpickle blog post). I have an muli-datacenter c* cluster (US,

Re: Understanding multi region read query and latency

2022-08-05 Thread Jim Shaw
I remember gocql.DataCentreHostFilter was used. try add it to see whether will read local DC only in your case ? Thanks, James On Fri, Aug 5, 2022 at 2:40 PM Raphael Mazelier wrote: > Hi Cassandra Users, > > I'm relatively new to Cassandra and first I have to say I'm really > impressed by

Re: Understanding multi region read query and latency

2022-08-05 Thread Bowen Song via user
TheĀ  DCAwareRoundRobinPolicy/TokenAwareHostPolicy controlls which Cassandra coordinator node the client sends queries to, not the nodes it connects to, nor the nodes that performs the actual read. A client sends a CQL read query to a coordinator node, and the coordinator node parses the CQL