Essentially, all models are wrong, but some are useful. Collaboration Model of Fog and Cloud
Download 0,58 Mb.
|
2020MohammedPhD1 - Copy
- Bu sahifa navigatsiya:
- Fog Workload Balancing
- Fog-2-Fog Coordination Model
- Network Model
- Service Delay
Network Monitor: part of the FRAMES duties is to monitor and control the computing resources of the fogs within the network. FRAMES tracks fog’s resource consumption, maintains resource availability of each fog, and periodically reports to the administrator with an analytical report. Providing analytic and processed statistics to the services provider helps to efficiently maintain nodes resources and conditions to deliver services with high performance.
Considering a scenario where a fog node accepts a data processing request from a thing; it will process the request and respond back. However, when the fog node is busy processing other requests, it may only be able to process part of the payload and offload the remaining parts to other fog nodes. Hence, there are two approaches to model interactions among fog nodes to distribute the load. First, the centralised model, which relies on a central node that controls the offload interaction among the fog nodes. Second, the decentralised model, which relies on a universal protocol that allows direct interactions among nodes. In the decentralised/distributed model, there is no need for a centralised node to share the state of fog nodes, instead, FRAMES can help each fog node run a protocol to distribute their updated state information to the neighbouring nodes. Then, each fog node holds a dynamically updated list of best nodes that can serve the offloaded tasks. The distributed model is more suitable for scenarios where things or fog nodes are mobile (e.g., Internet of moving things [159]) to support the mobility and flexibility of data acquisition. Therefore, we adopt this model of interactions in the F2F coordination model. The procedure of sharing the overload among fog nodes is as follows:
• Where to offload a service request? each fog has a list of best-suitable nodes with whom it can collaborate (i.e., reachability features table includes the estimated computing and response-time), when needed. This list is generated based on node’s locations and their neighbouring nodes, i.e, the list will include all nodes that are directly reachable from the current fog node sorted by node distances from low to high. When a node is about to get or become congested1, it can share the load with nodes from the list based on the payload size received. Thus, the list of best neighbour- Mhe term “congested node” applies to any node that has a high traffic, which may cause a latency issue for the incoming service requests. ing nodes is maintained periodically by each fog node. The process of selecting and sorting the best neighbour nodes is based on the possibilities of coordination between each other and being able to provide service processing with low latency and able to meet the deadline for the service request. Moreover, the procedure of selecting the best node takes into account the different request types as well as a node’s capabilities and availability, thus, the list will be sorted by best node to the top, and best node is the one that can provide the lowest service latency and is available for coordination. The best node selection and offloading algorithms are explained in Section 5.3.10. It is worth noting that the list of best neighbouring should be updated not only periodically but also upon scenarios where a significant change occurs, such as, adding or removing node(s) to or from the fog domain. This helps keep the list accurate and avoid issues of inconsistency when there are changes within the fog domain. Therefore, the list should be updated on the following offloading occasions: (i) when the fog sends request of status updates to other fog nodes; (ii) adding a new fog node to the fog domain; (iii) removing a fog node from the fog domain; and (iv) when a fog node goes off-line. These interactions and management are handled by the FRAMES. To explain more, fog nodes can join and leave a fog domain by setting this through FRAMES by updating the fog portal to add/remove a fog node and the fog pinger utility to monitor the status periodically. Updating FRAMES may cause changes to the fog network topology, thus fog nodes within the affected domain will be notified by FRAMES to allow fog nodes re-sorting their list of best neighbouring fog node for coordination.
This section discusses the network model that supports F2F coordination. It also discusses potential sources of delays that could impact this coordination. Mostly used notations in this chapter are given in Table 5.1.
The communication among fog nodes in the context of F2F coordination is modelled as an undirected graph, so that all fog nodes are reachable for each other. Having G = (N, L, W), where N is a set of thing, fog, and cloud nodes, thus, G = N1U NF U NC respectively. The notation L denotes the set of communication links between all nodes across the things, fog and cloud layers. While the notation W is the set of edge weights between nodes, according to the distance between them, hence the longer the distance, the higher the weight is. Thus, propagation delay Dp depends on the edge weight between two nodes.
A service request can be defined as a set of tasks that are processed completely to meet the desired service’s requirements. Processing a service request can happen over any of the three layers (i.e., thing, fog, and cloud). Hereafter, FRAMES calculate the total delay taken to process a service. Service delay (Sd) for tn request is expressed in Equation 5.1: Download 0,58 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2025
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling