Add region cache
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 425
- Forks
- 163
- Avg merge
- 10h 51m
- Merged PRs (30d)
- 3
Description
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
- The minimal region cache #291
- Test
- Save unnecessary PD requests if they are querying the same region
- Finer grained error handling
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the minimal region cache completed in #291 and the earlier UCP challenge in #114. Add tests for the cache, then verify that repeated queries for the same region avoid unnecessary requests to PD and that error cases are handled more precisely. Done means all three unchecked Todo items are covered by tests and behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- databases, distributed-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100