Comparison of Edge and Swarm Computing