title: How to use Redis and geo proximity search to find two users at the same location?
body: <p>I want to implement a service that, given users' geo coordinates, can detect whether two users are at the very same location in real time.</p>
  
  <p>In order to do this in real time and to scale, it seems I should go with a distributed in-memory datastore like Redis.  I have researched using geohashing, but the problem is that points close to each other may not always share the same hash prefix. And geohashing may be overkill since I'm interested in finding whether two users are close enough where they are standing next to each other.</p>
  
  <p>The simple solution of course is just to test whether pairs of geo coordinates fall within a small distance of each other. But AFAIK, Redis and other in-memory datastorse don't have geospatial indexing to support that kind of look-up.  </p>
  
  <p>What is the best way to go about implementing this?</p>