Works efficiently in Go Handles thousands of concurrent users Delivers updates within 1-2 seconds Doesn't suffer from the hierarchical complexity issues I'm facing with H3
I'm considering:
Moving away from room-based subscriptions to direct geographic queries Using a different geospatial library (Redis GEO, S2, GeoHash) Rethinking how I use H3
Has anyone solved similar problems with real-time location-based systems? What approaches worked best in production?
Looks like there is an implementation in Go [0]. I haven't tried the kind of geofencing you mention in memory, but I've had success with PostGIS.
[0] https://github.com/volkerp/goquadtree
Edit: that repo seems to be very old. Quadtiles have been implemented successfully in a variety of languages, you should be able to find something more suitable.