diplomsko delo
Tim Štromajer (Author), Matjaž B. Jurič (Mentor)

Abstract

Večina mikrostoritev danes med sabo komunicira preko REST storitev. Te dobro služijo svojemu namenu, dokler mikrostoritve ne zahtevajo pogosto spremenljivih in kompleksnejših struktur podatkov. Nekatera večja podjetja so se že odločila za izbiro poizvedovalnega jezika GraphQL, kjer odjemalec pridobi le tiste podatke, ki jih predhodno v poizvedbi deklarativno zahteva. Zaradi tega se med strežnikom in odjemalcem ne pošilja nobenih odvečnih poizvedb ali podatkov. V okviru diplomske naloge smo raziskali načine visokoperformančnega izvajanja poizvedb GraphQL. Med sabo smo primerjali že obstoječe platforme GraphQL Apollo Server, Graphene Python in GraphQL Java. Pokazali smo uporabo predpomnenja in trajnih poizvedb. Izdelali smo primer brezstrežniškega GraphQL APIja, pri čemer smo uporabili tehnologije GraphQL Apollo in Netlify. S pomočjo žetona JWT smo prikazali učinkovite poizvedbe z uporabo avtorizacije.

Keywords

GraphQL;spletne storitve;REST;mikrostoritve;računalništvo in informatika;univerzitetni študij;diplomske naloge;

Data

Language: Slovenian
Year of publishing:
Typology: 2.11 - Undergraduate Thesis
Organization: UL FRI - Faculty of Computer and Information Science
Publisher: [T. Štromajer]
UDC: 004(043.2)
COBISS: 34043907 Link will open in a new window
Views: 738
Downloads: 158
Average score: 0 (0 votes)
Metadata: JSON JSON-RDF JSON-LD TURTLE N-TRIPLES XML RDFA MICRODATA DC-XML DC-RDF RDF

Other data

Secondary language: English
Secondary title: High-performance GraphQL queries using microservices
Secondary abstract: Most microservices today communicate with each other through REST services. These serve their purpose well, as long as microservices do not require often variable and more complex data structures. Some larger companies have already decided to use the GraphQL query language, where the client obtains only the data that is previously declaratively requested in the query. As a result, no redundant queries or data are sent between the server and the client. As part of the diploma thesis, we investigated the methods of high-performance implementation of GraphQL queries. We compared the existing GraphQL platforms Apollo Server, Graphene Python and GraphQL Java. We demonstrated the use of caching and persistent queries. We created an example of a serverless GraphQL API, using GraphQL Apollo and Netlify technologies. We used JWT token to show efficient queries with the use of authorization.
Secondary keywords: GraphQL;web services;REST;microservices;computer and information science;diploma;
Type (COBISS): Bachelor thesis/paper
Study programme: 1000468
Embargo end date (OpenAIRE): 1970-01-01
Thesis comment: Univ. v Ljubljani, Fak. za računalništvo in informatiko
Pages: 62 str.
ID: 12094434
Recommended works:
, no subtitle data available
, diplomsko delo