Partners Imperial College London Network-wide programming allows us to overcome the cognitive overload of programming a large heterogenous network of devices. A significant reduction in the codebase that needs to be maintained. A runtime that automatically registers devices with minimal overhead. A proof framework shows that no semantics are lost through network-wide programming as compared to programming devices individually.
not lose track of long-term consequences. When sensing truly becomes ubiquitous, bringing with it an explosion of devices communicating data, then existing network infrastructures will become saturated. This motivates IoT and sensor nodes running multiple applications that might belong to different stakeholders. This leads to a continuum where data is processed from source devices via edge devices to the cloud. The question is where do we carry out processing: with what nodes and how? Specifically, maximizing the use of these systems is important but also brings many challenges in terms of scheduling processes and programming systems without knowing where they run. We view the city as a programmable device. The traditional approach to programming over many devices is to place a runtime on all nodes to abstract away the underlying hardware. We take a different approach. Given that code deployment can be initiated remotely and at any time, it makes sense to instead adapt compiler based approaches where optimisation is done when the application is compiled/ initially deployed. We believe that in order to cope with the large heterogeneity present in our target networks we should aim to have controlled variation, rather than arbitrary homogeneity. This ensures that hard to foresee complex interactions involving the placement of computation and communications can be ironed out in advance. We have also developed Scanner, a registry and automatic deployment system for sensors, actuators and processor nodes in smart city scenarios. This system allows us to take the output of the Scale compiler and query the current state of the network in order to determine appropriate target nodes in which to install the various images produced by the Scale compiler. In order to have optimal communications and satisfy application requirements, we need to be able to distribute the application layout in the network in the best way. That could range from in-network processing to cloud computing. Optimising the layout of the application in the heterogeneous network thus implies that the nodes inside the network might be doing processing and relaying for applications that are not the ones produced by their owners. This implies a notion of multi-tenancy, quotas and process isolation.