I. Introduction
Industrial Internet of Things [1] refers to the integration of IoT in industrial environments, also known as industry 4.0. Its applications vary from simple monitoring to critical control. The overwhelming growth of IIoT-connected devices, generating a huge amount of data, makes it more complicated to analyze and process these data to exploit them. For instance, the limited computation resources devices cannot achieve the degree of QoS, especially in terms of latency, required by different IIoT applications. It will be interesting to exploit more powerful nodes to execute the computation-intensive tasks. Hence, solutions based on powerful cloud and edge servers have emerged to offer these additional powerful resources. In these solutions, a task can be computed locally or offloaded to the cloud or the edge servers deployed in the proximity of IIoT devices. The offloading strategy depends on the requirements of the application in terms of QoS, energy consumption, available resources, rental prices, etc.