As the data explodes, cloud storage is being strained for data computation, storage, and management. The cloud server might take time to act on data as it works as a centralized mainframe to store and compute data and is often located far away from the IoT endpoints. This has led to the emergence of fog computing ? to shoulder the burden of cloud computing services.