1. A method for distributed processing using forecasted location-based Internet of Things (IoT) device clusters, the method comprising: determining, using a processor and a memory at a central IoT device, a data source that is to be used for processing a workload; computing a duration needed to process the workload; selecting a set of IoT devices that are operating within a threshold distance from the data source at a first time; selecting, at the central IoT device, to form a cluster of IoT devices, a first subset of the set of IoT devices, wherein each IoT device in the first subset satisfies a clustering condition; selecting, at the central IoT device, to form a sub-cluster of IoT devices from the cluster of IoT devices, a second subset of the first subset of IoT devices, wherein a forecasted travel path of a member IoT device in the second subset keeps the member IoT device within the threshold distance from the data source for the duration; and instructing the processor at the central IoT device to configure a lightweight application at a first IoT device in the second subset of IoT devices, the lightweight application enabling the first IoT device to participate in the sub-cluster and process the workload.