Re:Blueprint for a distributed multi-region IAM with Go and ...
by prpl on Tuesday August 08, 2023 @11:18AM
(#37050311)
not sure if it applies but depending on instance type I usually see pings in the .55ms range in a single AZ in AWS, cross-AZ pings higher (implying it is hard to be sub ms for many types of durable applications, especially if disk/S3 is involved)
[ Parent
| on HN ]
Re:Blueprint for a distributed multi-region IAM with Go and ...
by magden on Tuesday August 08, 2023 @03:50PM
(#37054566)
When discussing GCP, the latency between AZs within the same region is approximately 5 ms. Thus, if you have a 3-node database cluster spanning 3 AZs (all within the same region), a transaction can be committed in the 5-10ms range using Raft. CockroachDB should handle this seamlessly.
However, if you're considering a multi-region setup, the latency will depend on the distance between the regions.That's why usually you define a preferred region (that stores primary copy of the records) or deploy in a geo-partitioned mode (when data is automatically pinned to configured regions).