Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Latest articles

25 min read

Real-Time Dispatch System Design: Spring Boot, Redis GEO, Concurrency & Timeout Handling

This article details the design of a real-time ride-hailing dispatch system using Spring Boot, Redis GEO for driver location, two-phase candidate selection, time-bound dispatch invitations, database transaction-based concurrency control for order acceptance, timeout-based redispatch rounds, WebSocket location tracking, and cancellation handling, emphasizing data consistency over raw proximity.

54 min read

Go Real-Time Logistics Dispatch: Architecture Evolution & Production-Grade Design

This article presents a production-grade reference design for a Go-based real-time logistics dispatch system, covering architecture evolution from location floods to reliable order assignment, spatial sharding with S2, matching algorithms, atomic transaction protocols, message reliability, Go concurrency control, recovery strategies, and acceptance criteria.