undefined

Comparison of REST and GraphQL Interfaces for OPC UA

Year of publication

2022

Authors

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

Abstract

<p>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.</p>
Show more

Organizations and authors

Aalto University

Laaki Heikki

Mattila Joel Orcid -palvelun logo

Autiosalo Juuso Orcid -palvelun logo

Tammi Kari Orcid -palvelun logo

Ala-Laurinaho Riku Orcid -palvelun logo

Publication type

Publication format

Article

Parent publication type

Journal

Article type

Original article

Audience

Scientific

Peer-reviewed

Peer-Reviewed

MINEDU's publication type classification code

A1 Journal article (refereed), original research

Publication channel information

Journal/Series

Computers

Publisher

MDPI AG

Volume

11

Issue

5

Article number

65

​Publication forum

78201

​Publication forum level

1

Open access

Open access in the publisher’s service

Yes

Open access of publication channel

Fully open publication channel

Self-archived

Yes

Article processing fee (EUR)

916

Year of payment for the open publication fee

2022

Other information

Fields of science

Computer and information sciences; Electronic, automation and communications engineering, electronics; Other engineering and technologies

Keywords

[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Internationality of the publisher

International

Language

English

International co-publication

No

Co-publication with a company

No

DOI

10.3390/computers11050065

The publication is included in the Ministry of Education and Culture’s Publication data collection

Yes