Tagged articles
5 articles
Page 1 of 1
Java High-Performance Architecture
Java High-Performance Architecture
Jun 15, 2022 · Databases

How Redis Implements High‑Performance ‘Nearby People’ Search with GEOADD & GEORADIUS

This article explains the Redis Geo module’s GEOADD and GEORADIUS commands, analyzes their source code, and details the geohash‑based algorithm that enables efficient “nearby people” queries by converting coordinates to 52‑bit scores, searching nine‑grid cells, and filtering by spherical distance.

GEOADDGEORADIUSGeoHash
0 likes · 20 min read
How Redis Implements High‑Performance ‘Nearby People’ Search with GEOADD & GEORADIUS
Programmer DD
Programmer DD
Dec 17, 2019 · Databases

How Redis GEOADD & GEORADIUS Power Nearby-User Searches: Deep Code Dive

This article explains how Redis implements location-based “nearby people” features using GEOADD and GEORADIUS commands, detailing their syntax, underlying geohash algorithm, source code flow, and performance characteristics, while also discussing related options, complexity, and practical usage considerations.

GEOADDGEORADIUSGeoHash
0 likes · 18 min read
How Redis GEOADD & GEORADIUS Power Nearby-User Searches: Deep Code Dive