Let's say you want to find out the closest route to your new delivery client or develop an Uber-like service giving you know the closest drivers to the pickup point.
Redis has some amaing geospatial functions. In my case there are 2 GEO functions that will do the trick. GEOADD and GEORADIUS.
We will need to add the points we currently know to the index and then run the search. Once we find a point, we then get the route. Once you have the route, you can add new points if needed. You can used the same key for Redis if your sets are small. In my case, my $key is 'locations'.