1. A system comprising: a camera to: capture images of foot traffic in a retail store; and one or more processors to: receive the images of foot traffic from the camera; transmit the images of foot traffic to one or more traffic servers over a wide area network for processing; execute subroutines in parallel using multithreading, the subroutines including: a first subroutine to extract traffic data from the one or more traffic servers and store the traffic data in a database, the traffic data indicating a quantity of customers that is in the retail store based on the processed images of foot traffic, and a second subroutine to extract and store customer wait time data, resource management data, and point of sale (POS) data; determine a completion of the first subroutine executed in parallel with the second subroutine; determine a completion of the second subroutine executed in parallel with the first subroutine; determining one or more metrics for the retail store based on the traffic data, the customer wait time data, the resource management data, and the POS data into one or more metrics for the retail store after determining the completion of the first subroutine and after determining the completion of the second subroutine; load the one or more metrics into the database; determine one or more aggregated metrics by aggregating the one or more metrics with other metrics at a geographic level; load the one or more aggregated metrics into the database; and transmit the one or more aggregated metrics to a smart staffing application of one or more user devices.