The next extension for the Redis challenge is now live: Geospatial.
Redis geospatial indexes let you store coordinates and query them efficiently. Built on top of Sorted Sets, they make it possible to perform operations like finding nearby points within a given radius.
By the end of this extension, your Redis implementation will support:
- Adding locations with
GEOADD
- Querying locations with
GEOPOS
- Calculating distances with
GEODIST
- Searching for locations within a radius
GEOSEARCH
Here’s the stage breakdown:
Please give this a try and let us know how it can be improved! @UdeshyaDhungana (author of this extension) and I will be available here to help out with any tester or instruction-related issues.