client-rust icon indicating copy to clipboard operation
client-rust copied to clipboard

Add region cache

Open ekexium opened this issue 4 years ago • 0 comments

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

ekexium avatar Jun 02 '21 02:06 ekexium