Task scheduling in Cloud Computing and somehow little bit similar Fog Computing but taking constraints in both environment is different. In cloud scheduling algorithm consider constraints as follows:
1: Computing power of VM.
2: Interconnection bandwidth.
3: task size.
4: VM migration cost.
etc..
On the other hand, Fog computing is hierarchical architecture of cloud nodes, fog nodes, and IoT nodes. In Fog scheduling algorithm consider constraints as follows:
1: Computing power fog node and VM.
2: up-link and down-link bandwidth from IoT to fog node.
3: up-link and down-link bandwidth from fog node to cloud node.
5: priority of task to execute nearly to IoT node .
There are differences between cloud and fog. To implement algorithms, you can use Cloudsim for Cloud and iFogsim for Fog. We have more explained in these papers:
* Task offloading in mobile fog computing by classification and regression tree.
Link: Article Task offloading in mobile fog computing by classification an...
* Low-latency and energy-efficient scheduling in fog-based IoT applications.