Distance Calculation with a requested set of points
<p>I have a requirement to determine the distance from each point (lat/long) to every other point in the submitted collection.  It could be 2 to 200 points.  A formula like Haversine is a requirement.  For example A,B,C would return A-B - x.x meters,  A-C - x.x meters, B-C = x.x meters.</p>

<p>I am considering options like a custom solution in Java  OR  possibly leverage distributed computing like Hadoop / Apache Spark  OR  a tool like a GeoProcessing tool (ESRI/ARCGIS).</p>

<p>Has anyone tackled this requirement before?</p>

<p>Any lessons learned?</p>