Some preliminary terms

The meanings of some terms used throughout the paper which the readers should know in order to easily and fully understand the paper.
Architecture: Architecture is about functionality allocation: "Who does what, at what timescale, and how to put the modules back together?". There are many strong and sound established architectures in mature technological areas like serial computation and the Internet. In the case of emerging trends like IoT, 5G networks, embedded AI and cyber-physical systems, we are yet to establish solid architectural principles.
IoT: The Internet of Things has been a buzzword in technology for a few years now, it is difficult to not hear of some new IoT device every week. The networking of physical devices, vehicles, buildings, and other items embedded with electronics, software, sensors, actuators, and network connectivity which enable these objects to collect and exchange data, is called the Internet of Things (IoT).