client-rust
client-rust copied to clipboard
Add region cache
A region cache caches the region information in the client and saves unnecessary queries to PD. It's key to performance.
The previous UCP challenge #114 didn't finish the task. We'll use this issue to track the progress.
Todo
- [x] The minimal region cache #291
- [ ] Test
- [ ] Save unnecessary PD requests if they are querying the same region
- [ ] Finer grained error handling