Antlers
A live driver-demand heatmap of Lagos that takes thousands of GPS pings a second without slowing the map.
- Year
- 2026
- Status
- Built
- Stack
- Python, Django, Kafka, Redis, React
- Links
- Source code
Context
A delivery app's home screen needs to show where orders are happening, live.
The problem
Saving every ping to a database and polling it collapses under thousands of pings per second.
Architecture
Django REST ingests pings into Kafka, consumers group coordinates by geohash into Redis counts, and Django Channels pushes changes to the map over WebSockets.
Implementation
Geohash bucketing cuts thousands of points to density counts per area before anything reaches the browser.
Outcomes and lessons
10 GitHub stars.