The prevalence of smart devices and cloud computing has led to an explosion in the amount of data generated by IoT devices. Moreover emerging IoT applications such as augmented and virtual reality (AR/VR) intelligent transportation systems and smart factories require ultra-low latency for data communication and processing. Fog/edge computing is a new computing paradigm where fully distributed fog/edge nodes located nearby end devices provide computing resources. By analyzing filtering and proces