Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Catalog and Routing
-
CAR Team 2024-01-22, CAR Team 2024-02-05, CAR Team 2024-02-19
-
(copied to CRM)
-
3
Description
Currently the sharding catalog cache eviction policy is LRU with a hardcoded capacity of 10k entries. There are some improvements we could consider:
- Making the capacity configurable.
- Considering the size of the cached entry, which may vary wildly depending on each collection routing table size.
- Being more aggressive in evicting long-unused entries.