Tagged articles
25 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
AI Architecture Hub
AI Architecture Hub
Jun 20, 2024 · Big Data

How GeoHash Powers Efficient Large-Scale Location Queries Without Pagination

This article explains the GeoHash algorithm, shows how it converts latitude‑longitude pairs into compact binary strings, demonstrates the encoding process with a concrete example, and discusses how the resulting prefixes can be used to quickly locate nearby users in massive datasets while highlighting remaining edge‑case challenges.

Big DataGeoHashLocation Query
0 likes · 7 min read
How GeoHash Powers Efficient Large-Scale Location Queries Without Pagination
Architect
Architect
Jun 18, 2024 · Big Data

How GeoHash Powers Real‑Time Ride‑Hailing: From Theory to Practice

This article explains the GeoHash algorithm, demonstrates how binary subdivision of latitude and longitude yields compact base‑32 strings, and shows how these hashes can efficiently locate nearby ride‑hailing drivers while highlighting precision limitations and edge cases.

Big DataGeoHashLocation Services
0 likes · 8 min read
How GeoHash Powers Real‑Time Ride‑Hailing: From Theory to Practice
HelloTech
HelloTech
Jul 17, 2023 · Backend Development

Map Services SDK and Caching Strategies

The Map Services SDK unifies Haro and Gaode LBS capabilities into a single component package with full TypeScript declarations and auto‑generated VuePress documentation, adds optimized request strategies with fallback to Gaode, implements an LRU cache for high‑volume reverse‑geocoding, provides a flexible data‑conversion library, and plans online mock‑API documentation to streamline developer integration.

GeoHashMap ServicesSDK
0 likes · 9 min read
Map Services SDK and Caching Strategies
HelloTech
HelloTech
Dec 15, 2022 · Backend Development

Optimization of Reverse Geocoding Service: Caching, GeoHash, and LRU Strategies

By eliminating unnecessary reverse‑geocode calls, aggregating nearby coordinates with GeoHash, and employing a multi‑layer LRU‑K cache with time‑ and access‑count eviction, the Hellobike map team cut daily requests from 200‑300 million to 20‑30 million while adding fallback and monitoring mechanisms.

BackendGeoHashLRU
0 likes · 13 min read
Optimization of Reverse Geocoding Service: Caching, GeoHash, and LRU Strategies
Architect
Architect
Oct 21, 2022 · Databases

Designing Efficient POI Proximity Search with MySQL, GeoHash, and Redis

This article explains how to implement fast nearby POI queries by calculating distances with the Haversine formula, designing MySQL tables and indexes, applying GeoHash for dimensionality reduction, and leveraging Redis Geo for high‑concurrency scenarios, while also providing Go code examples for each step.

GeoHashGoPOI
0 likes · 29 min read
Designing Efficient POI Proximity Search with MySQL, GeoHash, and Redis
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
Dada Group Technology
Dada Group Technology
Sep 13, 2021 · Backend Development

Design and Evolution of a High‑Performance Massive Distance‑Calculation Service at Dada Group

This article details Dada Group’s transition from a Redis‑based, low‑throughput distance‑calculation system to a high‑concurrency, low‑cost architecture leveraging GEOHASH indexing, cache sharing, and asynchronous processing, achieving billions of daily point‑pair calculations with sub‑100 ms latency and high value‑rate.

GeoHashSystem Architecturebig data analysis
0 likes · 12 min read
Design and Evolution of a High‑Performance Massive Distance‑Calculation Service at Dada Group
Tencent Cloud Developer
Tencent Cloud Developer
Sep 2, 2021 · Databases

Understanding Geohash: Principles, Implementation, and Applications

Geohash encodes latitude‑longitude pairs into short base‑32 strings by recursively bisecting coordinate ranges and interleaving bits, allowing fast proximity queries via prefix matching, with precision controlled by string length, and is supported natively in Redis and useful for location‑based services.

GeoHashPHPSQL
0 likes · 12 min read
Understanding Geohash: Principles, Implementation, and Applications
Sohu Tech Products
Sohu Tech Products
Jul 7, 2021 · Backend Development

Implementing Nearby‑People (LBS) with MySQL and Redis GEO

This article explains how to build a location‑based "nearby people" feature by storing coordinates in MySQL, filtering with rectangular bounds, calculating distances in Java, and then scaling the solution with Redis GEO using GeoHash and Sorted Sets for high‑performance proximity queries.

GeoHashLBSLocation Services
0 likes · 14 min read
Implementing Nearby‑People (LBS) with MySQL and Redis GEO
Taobao Frontend Technology
Taobao Frontend Technology
Jul 5, 2021 · Frontend Development

Alibaba’s 618 Interactive: Front‑End Animation, Shake‑to‑Shake & On‑Device AI

The article details how Alibaba’s 618 e‑commerce interactive event revived the Star Show Cat IP, employing sophisticated front‑end animation techniques with Spine and Lottie, implementing a proximity‑based shake‑to‑shake partnership using GeoHash location matching, and exploring on‑device AI for intelligent user guidance, illustrating the evolution of the Taobao interactive front‑end technology stack.

AIGeoHashMobile
0 likes · 13 min read
Alibaba’s 618 Interactive: Front‑End Animation, Shake‑to‑Shake & On‑Device AI
macrozheng
macrozheng
May 8, 2020 · Backend Development

Build an Efficient ‘Nearby Users’ Feature Using MySQL, Redis, MongoDB & GeoHash

This article explores multiple backend strategies for implementing a location‑based “nearby users” service, covering pure MySQL queries, MySQL combined with GeoHash, Redis Geo commands, and MongoDB geospatial indexes, explaining design principles, pros and cons, and providing complete code examples for each approach.

GeoHashLBSMongoDB
0 likes · 20 min read
Build an Efficient ‘Nearby Users’ Feature Using MySQL, Redis, MongoDB & GeoHash
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
Big Data Technology & Architecture
Big Data Technology & Architecture
May 7, 2019 · Databases

Design and Multi‑Tenant Management of HBase at Didi

This article details Didi's use of HBase for various online and offline workloads, covering multi‑language support, data types, rowkey designs for order, trajectory and ETA scenarios, multi‑tenant resource management with DHS and RS Group, and operational best practices.

GeoHashHBaseResource Management
0 likes · 12 min read
Design and Multi‑Tenant Management of HBase at Didi
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 16, 2018 · Big Data

How GeoHash Powers Billion‑Scale Point‑in‑Polygon Matching at Alibaba Xianyu

This article explains how Alibaba Xianyu uses GeoHash encoding and optimized spatial indexing to efficiently match billions of user‑posted GPS points with tens of thousands of market‑area polygons, reducing computation from quadrillions to billions of operations through precise point‑polygon algorithms and fast neighbor lookups.

Algorithm OptimizationAlibabaGeoHash
0 likes · 14 min read
How GeoHash Powers Billion‑Scale Point‑in‑Polygon Matching at Alibaba Xianyu
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 12, 2018 · Fundamentals

How Xianyu Scales Billion‑Item Geo Matching with Fast GeoHash Algorithms

This article explains how Xianyu uses GeoHash‑based spatial indexing, precise and approximate matching, and a rapid neighbor‑search algorithm to efficiently associate billions of GPS‑tagged items with tens of thousands of city‑level business districts, reducing computation from quadrillions to billions of operations.

Algorithm OptimizationGISGeoHash
0 likes · 13 min read
How Xianyu Scales Billion‑Item Geo Matching with Fast GeoHash Algorithms
Xianyu Technology
Xianyu Technology
Jul 9, 2018 · Big Data

Efficient GeoHash-Based Point‑in‑Polygon Matching for Massive Datasets

By encoding billions of GPS points and ten thousand district polygons into GeoHash cells, using exact matches, approximate filtering, neighbor‑cell lookup tables, and a final precise geometry test, the authors cut the required operations from 2×10^20 to about 1.8×10^12, enabling full processing in under a day.

GeoHashSpatial Indexingalgorithm
0 likes · 13 min read
Efficient GeoHash-Based Point‑in‑Polygon Matching for Massive Datasets
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jul 10, 2017 · Databases

How Didi Scales HBase for Real‑Time Orders, Geo‑Tracking, and ETA

This article explains how Didi leverages HBase across multiple business scenarios—including order lifecycle queries, driver‑passenger trajectory tracking, ETA calculations, and cluster monitoring—while addressing multi‑language support, rowkey design, GeoHash indexing, and multi‑tenant resource management.

Database designGeoHashHBase
0 likes · 13 min read
How Didi Scales HBase for Real‑Time Orders, Geo‑Tracking, and ETA
21CTO
21CTO
Jun 19, 2017 · Databases

How Didi Scales HBase for Real‑Time Orders, Geo‑Tracking, ETA and Monitoring

This article explains how Didi leverages HBase’s distributed architecture, multi‑language APIs, and custom rowkey designs to support online order queries, driver‑passenger trajectory tracking with GeoHash, real‑time ETA calculations, and a monitoring platform, while managing multi‑tenant resources through DHS and RS Group.

DidiGeoHashHBase
0 likes · 13 min read
How Didi Scales HBase for Real‑Time Orders, Geo‑Tracking, ETA and Monitoring
Qunar Tech Salon
Qunar Tech Salon
Jul 18, 2016 · Backend Development

Implementing Proximity Search with Geohash and Spatial4j in MySQL

This article explains how to build location‑based "nearest" and range queries for O2O applications using MySQL, covering interval search with bounding boxes, Geohash indexing, distance filtering, sorting, and pagination, and provides complete Java and SQL code examples.

GeoHashSpatial Searchlocation-based query
0 likes · 10 min read
Implementing Proximity Search with Geohash and Spatial4j in MySQL
Architect
Architect
Feb 20, 2016 · Databases

Understanding GeoHash: Spatial Indexing and Its Application in Proximity Queries

This article explains the GeoHash algorithm, how it converts latitude‑longitude coordinates into hierarchical string codes, the precision trade‑offs of different code lengths, the binary encoding process, the use of space‑filling curves, and practical considerations when applying GeoHash for nearby point‑of‑interest searches.

Database IndexGeoHashGeospatial
0 likes · 9 min read
Understanding GeoHash: Spatial Indexing and Its Application in Proximity Queries