In recent years, we have seen the emergence of new compute-intensive and delay-critical mobile applications, such as virtual/augmented reality, online gaming, ultra-high-definition video streaming and autonomous driving. Multi-access edge computing (MEC) has become a key technology in 5G networks to shift computational tasks from resource-limited mobile devices to nearby servers placed at the edge of the network.