A Service Discovery Solution for Edge Choreography-Based Distributed Embedded Systems

Sensors (Basel). 2021 Jan 19;21(2):672. doi: 10.3390/s21020672.

Abstract

This paper presents a solution to support service discovery for edge choreography based distributed embedded systems. The Internet of Things (IoT) edge architectural layer is composed of Raspberry Pi machines. Each machine hosts different services organized based on the choreography collaborative paradigm. The solution adds to the choreography middleware three messages passing models to be coherent and compatible with current IoT messaging protocols. It is aimed to support blind hot plugging of new machines and help with service load balance. The discovery mechanism is implemented as a broker service and supports regular expressions (Regex) in message scope to discern both publishing patterns offered by data providers and client services necessities. Results compare Control Process Unit (CPU) usage in a request-response and datacentric configuration and analyze both regex interpreter latency times compared with a traditional message structure as well as its impact on CPU and memory consumption.

Keywords: Internet of Things; discovery; distributed embedded systems; edge; fog computing; middleware; regular expressions; service choreography.