Tagged articles
6 articles
Page 1 of 1
Zhuanzhuan Tech
Zhuanzhuan Tech
Mar 20, 2025 · Backend Development

Implementing Geolocation‑Based Fraud Detection with Redis GEO Commands

This article outlines a fraud‑detection use case that leverages Redis GEO commands to compare user order addresses with known malicious locations, discusses technology choices among MySQL, Redis, and Elasticsearch, explains Redis’s Sorted‑Set and GeoHash implementation, and provides Java code examples for GEOADD, GEOPOS, GEODIST, and GEORADIUS.

BackendGEOADDGeoHash
0 likes · 9 min read
Implementing Geolocation‑Based Fraud Detection with Redis GEO Commands
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