Tag

GeoHash

0 views collected around this technical thread.

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.

GeoHashGeolocationRedis
0 likes · 9 min read
Implementing Geolocation‑Based Fraud Detection with Redis GEO Commands
IT Architects Alliance
IT Architects Alliance
Jun 20, 2024 · Fundamentals

Understanding GeoHash: Principles, Encoding Process, and Application in Ride‑Hailing

This article introduces the GeoHash algorithm, explains how latitude and longitude are recursively bisected into binary strings, compressed with Base32, and demonstrates its use for efficiently locating nearby drivers in ride‑hailing services while discussing precision trade‑offs and edge cases.

Big DataGeoHashRide-hailing
0 likes · 8 min read
Understanding GeoHash: Principles, Encoding Process, and Application in Ride‑Hailing
Selected Java Interview Questions
Selected Java Interview Questions
May 28, 2024 · Fundamentals

Understanding GeoHash: Principles and Application for Proximity Queries

This article explains the GeoHash algorithm, describing how latitude‑longitude coordinates are converted into binary strings and Base32 codes, how these codes enable efficient proximity searches such as finding nearby ride‑hailing passengers, and discusses the limitations of the approach.

GeoHashalgorithmbackend
0 likes · 7 min read
Understanding GeoHash: Principles and Application for Proximity Queries
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.

CachingGeoHashSDK
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.

CachingGeoHashLRU
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.

GeoHashGoMySQL
0 likes · 29 min read
Designing Efficient POI Proximity Search with MySQL, GeoHash, and Redis
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.

CachingDistance CalculationGeoHash
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.

GeoHashPHPPrecision
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
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
Architecture Digest
Architecture Digest
Dec 4, 2019 · Databases

Understanding Redis GEOADD and GEORADIUS: Source‑Code Analysis and Algorithm Details

This article explains how Redis implements location‑based services using GEOADD and GEORADIUS commands, analyzes their source code, describes the underlying geohash algorithm, and evaluates the time‑complexity of nearby‑people queries, providing practical insights for building efficient proximity features.

GeoHashRedisalgorithm
0 likes · 17 min read
Understanding Redis GEOADD and GEORADIUS: Source‑Code Analysis and Algorithm Details
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.

Big DataGeoHashalgorithm
0 likes · 13 min read
Efficient GeoHash-Based Point‑in‑Polygon Matching for Massive Datasets
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.

GeoHashMySQLbackend
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 IndexGeoHashGeolocation
0 likes · 9 min read
Understanding GeoHash: Spatial Indexing and Its Application in Proximity Queries