Improved Cross-Region deployment features #18273
Labels
feature/accepted
This feature request is accepted by product managers
type/feature-request
Categorizes issue or PR as related to a new feature.
Milestone
Description
Deploy a cluster across multiple geo regions. Schedule the data to the AZ/region near the workload, like Google Spanner.
We need to reduce query latency by reducing cross-region data access. The applications deployed in a certain region may only read/write the data related to that region. So for better performance, the basic idea is to put the related data near the application (data locality).
Placement Rules
is a powerful tool provided by PD. We can use it to place all(or at least the majority) replicas of a table/partition in a specific region. This could mitigate the cross-region network round-trip for both read and write operations.Besides the data access, another thing we should consider is the transaction timestamp allocation (TSO). For now, it's allocated by the PD leader only. So for the transactions that occur not in the same region with the PD leader, there is still one cross-region round-trip to get the transaction timestamp. We need to figure out a way to allocate transaction timestamps from PD followers. In this way, we can mitigate the cross-region network round-trip for TSO allocation.
Task List
Note: Each of the following big tasks is composed of lots of small tasks, please click on the task URL to get more detail of each big task.
Technical Design Docs
Progress Tracking
Join Us
The text was updated successfully, but these errors were encountered: