DBRaven
Relationship · Complements
Source: Pattern·Target: Pattern

Summary

Geospatial indexes identify which records are near a point; consistent hashing on a geohash or S2 cell key routes those records to the correct shard, combining location-aware partitioning with efficient proximity lookup.

Evidence

  • ·geospatial_index partitions by S2 cell and stores the cell as a shard key / Redis key prefix (patterns/geospatial_index.yaml); lists consistent_hashing in related_patterns
  • ·consistent_hashing applicable_when data is accessed by key and must route to a specific node (patterns/consistent_hashing.yaml)

Evidence grounding

Grounded, 2 supporting items

The S2/geohash cell used as a shard key routes geo-partitioned records via consistent hashing.