Finding the shortest distance between each point in two data sets based on longitude & latitude

I am trying to find the shortest distance between datasets. For example lets say I have a set of 1000 fast food customers and 500 restaurants. I want to find the closest restaurant for each customer and what that distance is. I have longitude and latitude for everything.

Maybe this article is a reasonable starting point: