This repository was archived by the owner on Apr 7, 2026. It is now read-only.
Commit 6d09efe
feat: add KeyRangeCache for location-aware routing
This commit adds the KeyRangeCache class that maps key ranges to
specific server locations for routing decisions.
Key features:
- TabletEntry class for tablet metadata (UID, server address, incarnation)
- ServerEntry class for server connection management
- Key range to tablet mapping with efficient lookup
- Lazy server initialization for on-demand connections
- Integration with ChannelFinderServer interfaces
This is part of the experimental location-aware routing for improved latency.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent c4c9c69 commit 6d09efe
1 file changed
Lines changed: 588 additions & 0 deletions
0 commit comments