Skip to main content
FHEDEEN
Request information material

Bachelor Flyer Master Flyer

Contact

Sekretariat Angewandte Informatik
Tel.: 0361 / 6700-5510 sekretariat-ai@fh-erfurt.de

Besucheranschrift:

Fachhochschule Erfurt
Fakultät Gebäudetechnik und Informatik
Fachrichtung Angewandte Informatik
Altonaer Straße 25
99085 Erfurt

Vergleich und Implementierung von Web-Apis, am Beispiel von REST, gRPC und GraphQL

14_10_2022_Bensalah_Iliass

Nach einer Diskussion über den verschiedenen Webschnittstellen stellte sich die Frage, ob eine Webapplikation, die schon die REST-API implementiert, viel zu gewinnen hat, wenn sie alternative API umsetzt, wie gRPC und GraphQL.

In dieser Arbeit werden die drei Schnittstellen REST, gRPC, und GraphQL verglichen, und ausgewertet, um auf die in der Diskussion gestellte Frage zu antworten. Die Auswertung hat ergeben, dass REST noch die optimale API in diesem konkreten Fall, dass GraphQL interessant sein könnte falls die Anwendung auf Smartphone oder Tablet portiert wird, und dass gRPC für diese Webanwendung nicht geeignet ist.

After a discussion about the different web interfaces, the question arose whether a web application that already implements the REST API has much to gain by implementing

alternative APIs, such as gRPC and GraphQL.

In this work, the three interfaces REST, gRPC, and GraphQL are compared and evaluated to answer the question posed in the discussion.

The evaluation has shown that REST is still the optimal API in this specific case, that GraphQL could be interesting if the app is to be ported to different clients such as mobile

and tablet, and that gRPC is not suitable for this web application.

Back