case, having more fog nodes powered on than what is
strictly necessary (because E
j
= 1 for all fog nodes)
results in a lower processing time. At the same time,
the low impact of network delays makes the problem
of achieving a good load balancing quite straightfor-
ward because the penalty for reaching a fog node far
away is almost negligible.
4 CONCLUSIONS
In this paper, we focused on a facility location-
allocation problem related to the management of a fog
infrastructure, with special attention to the mapping
of data flows from the sensors to the fog nodes and
from the fog nodes to the cloud data centers. Then,
we propose a mathematical model that starts with a
list of potential fog nodes and selects a minimal sub-
set of them to guarantee the satisfaction of a Service
Level Agreement.
We test the proposed model against alternative
models from the scientific literature. The experiments
are based on a realistic situation from a project for a
smart city application. We consider a wide range of
scenarios characterized by different load levels and by
different ratios between the service time (that is the
processing time for a set of data from a sensor) and
network delay. The results demonstrate that the pro-
posed model can outperform existing alternatives in
the literature. We also consider an ideal but unreal-
istic model and demonstrate that the proposed model
can, in several cases, achieve a result that is compara-
ble with this ideal solution.
This paper is a step in a wider research line on fog
infrastructure design. We plan to extend our proposal
including quickly and effectively heuristic algorithms
that can be used to solve our problem, and to intro-
duce dynamic scenarios where the load can change
through time.
REFERENCES
Ardagna, D., Ciavotta, M., Lancellotti, R., and Guerriero,
M. (2018). A hierarchical receding horizon algo-
rithm for QoS-driven control of multi-IaaS applica-
tions. IEEE Transactions on Cloud Computing, pages
1–1.
Canali, C. and Lancellotti, R. (2019a). A Fog Computing
Service Placement for Smart Cities based on Genetic
Algorithms. In Proc. of International Conference
on Cloud Computing and Services Science (CLOSER
2019), Heraklion, Greece.
Canali, C. and Lancellotti, R. (2019b). GASP: Genetic Al-
gorithms for Service Placement in fog computing sys-
tems. Algorithms, 12(10).
Cardellini, V., Lo presti, F., Nardelli, M., and Russo russo,
G. (2017). Optimal operator deployment and repli-
cation for elastic distributed data stream processing.
Concurrency Computation, 30(June):1–20.
Celik Turkoglu, D. and Erol Genevois, M. (2019). A com-
parative survey of service facility location problems.
Annals of Operations Research, in press.
Cooper, L. (1963). Location-allocation problems. Opera-
tions Research, 11(3):331–343.
Deng, R., Lu, R., Lai, C., Luan, T. H., and Liang, H. (2016).
Optimal Workload Allocation in Fog-Cloud Comput-
ing Toward Balanced Delay and Power Consumption.
IEEE Internet of Things Journal, 3(6):1171–1181.
Eiselt, H. A. and Laporte, G. (1995). Objectives in location
problems. In Drezner, Z., editor, Facility Location:
A survey of application and methods, pages 151–180.
Springer.
Farahani, R. Z., Fallah, S., Ruiz, R., Hosseini, S., and As-
gari, N. (2019). Or models in urban service facility
location: A critical review of applications and future
developments. European Journal of Operational Re-
search, 276(1):1 – 27.
Khorov, E., Lyakhov, A., Krotov, A., and Guschin, A.
(2015). A survey on IEEE 802.11 ah: An enabling net-
working technology for smart cities. Computer Com-
munications, 58:53–69.
Kramer, R., Cordeau, J.-F., and Iori, M. (2019). Rich vehi-
cle routing with auxiliary depots and anticipated deliv-
eries: An application to pharmaceutical distribution.
Transportation Research Part E: Logistics and Trans-
portation Review, 129:162 – 174.
Marotta, A. and Avallone, S. (2015). A Simulated Anneal-
ing Based Approach for Power Efficient Virtual Ma-
chines Consolidation. In Proc. of 8th International
Conference on Cloud Computing (CLOUD). IEEE.
OpenFog Consortium Architecture Working Group (2017).
OpenFog Reference Architecture for Fog Computing.
Technical report, OpenFog consortium.
Po, L., Rollo, F., Viqueira, J. R., Trillo, R., Lopez, J. C.,
Bigi, A., Paolucci, M., and Nesi, P. (2019). Trafair:
Understanding traffic flow to improve air quality. In
Proc. of IEEE International Smart Cities Conference
(ISC2 2019), Casablanca, Morocco.
Silva, R. A. C. and Fonseca, N. L. S. (2019). On the loca-
tion of fog nodes in fog-cloud infrastructures. Sensors,
19(11).
Yi, S., Li, C., and Li, Q. (2015). A survey of fog comput-
ing: Concepts, applications and issues. In Proceed-
ings of the 2015 Workshop on Mobile Big Data, Mo-
bidata ’15, pages 37–42, New York, NY, USA. ACM.
Yousefpour, A., Ishigaki, G., and Jue, J. P. (2017). Fog
computing: Towards minimizing delay in the internet
of things. In 2017 IEEE International Conference on
Edge Computing (EDGE), pages 17–24.
CLOSER 2020 - 10th International Conference on Cloud Computing and Services Science
260