This repository was archived by the owner on Apr 7, 2026. It is now read-only.
Commit 34a715d
committed
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.1 parent 2c9da0d commit 34a715d
1 file changed
Lines changed: 588 additions & 0 deletions
0 commit comments