Comparison of REST and GraphQL Interfaces for OPC UA

Riku Ala-Laurinaho*, Joel Mattila, Juuso Autiosalo, Jani Hietala, Heikki Laaki, Kari Tammi

*Tämän työn vastaava kirjoittaja

Tutkimustuotos: LehtiartikkeliArticleScientificvertaisarvioitu

1 Sitaatiot (Scopus)
6 Lataukset (Pure)

Abstrakti

Industry 4.0 and Cyber-physical systems require easy access to shop-floor data, which allows the monitoring and optimization of the manufacturing process. To achieve this, several papers have proposed various ways to make OPC UA (Open Platform Communications Unified Architec-ture), a standard protocol for industrial communication, RESTful (Representational State Transfer). As an alternative to REST, GraphQL has recently gained popularity amongst web developers. This paper compares the characteristics of the REST and GraphQL interfaces for OPC UA and conducts measurements on reading and writing data. The measurements show that GraphQL offers better performance than REST when multiple values are read or written, whereas REST is faster with single values. However, using OPC UA directly outperforms both REST and GraphQL interfaces. As a conclusion, this paper recommends using a GraphQL interface alongside an OPC UA server in smart factories to simultaneously yield easy data access, the best performance, and maximum interoperability.

AlkuperäiskieliEnglanti
Artikkeli65
Sivumäärä17
JulkaisuComputers
Vuosikerta11
Numero5
DOI - pysyväislinkit
TilaJulkaistu - toukok. 2022
OKM-julkaisutyyppiA1 Julkaistu artikkeli, soviteltu

Sormenjälki

Sukella tutkimusaiheisiin 'Comparison of REST and GraphQL Interfaces for OPC UA'. Ne muodostavat yhdessä ainutlaatuisen sormenjäljen.

Siteeraa tätä