Endre søk
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf
Evaluating the performance andusability of HTTP vs gRPC in communication between microservices
Blekinge Tekniska Högskola, Fakulteten för datavetenskaper, Institutionen för programvaruteknik.
Blekinge Tekniska Högskola, Fakulteten för datavetenskaper, Institutionen för programvaruteknik.
2023 (engelsk)Independent thesis Basic level (degree of Bachelor), 10 poäng / 15 hpOppgave
Abstract [en]

Microservices is an architectural technique that has only gotten more popular as the need for scalable and performant internet-based applications has grown. One of the characteristics of microservices is communication through lightweight protocols like HTTP. These protocols are usually provided through frameworks that enable an abstracted form of communication and when implementing services using the Go language, the most common frameworks are gRPC and net/http. The aim of this thesis is to evaluate and compare the performance and usability of gRPC and HTTP frameworks in order to determine which one is better suited for microservices so that developers can be empowered to be more informed when making choices about their technology. We investigated the performance and usability by conducting two experiments. For the first one, we created two services that were implemented as identically as possible using Go but one communicated using the net/http framework and the other using gRPC. The services implemented methods that return small, medium, and large payload sizes and were then load-tested at varying numbers of virtual users. The second experiment was conducted by recruiting a set of participants that were tasked with completing two sets of coding tasks once using gRPC and once using HTTP. After the tasks were completed they were asked to fill out a questionnaire to measure their experience using the frameworks, the answers were then turned into a score which we could use to analyze the frameworks. The results from the performance experiment indicated that gRPC performed better in terms of throughput and latency, while HTTP performed better in scalability, and the results from the usability experiment indicated that HTTP was found to be more usable by the participants. 

sted, utgiver, år, opplag, sider
2023. , s. 48
Emneord [en]
HTTP, gRPC, Cloud Computing, Load testing, Micro-services
HSV kategori
Identifikatorer
URN: urn:nbn:se:bth-24845OAI: oai:DiVA.org:bth-24845DiVA, id: diva2:1768795
Fag / kurs
PA1445 Kandidatkurs i Programvaruteknik
Utdanningsprogram
PAGPT Software Engineering
Presentation
2023-05-31, Blekinge Tekniska Högskolan - Sal C245, Valhallavägen 1, Karlskrona, 10:15 (engelsk)
Veileder
Examiner
Tilgjengelig fra: 2023-06-27 Laget: 2023-06-15 Sist oppdatert: 2023-06-27bibliografisk kontrollert

Open Access i DiVA

fulltext(1308 kB)583 nedlastinger
Filinformasjon
Fil FULLTEXT02.pdfFilstørrelse 1308 kBChecksum SHA-512
d23d49228f267b96b6db20a534a8a0492b4c74e53a0205b5e4daa5c053e964f23064a9b79619b09e84eafc56dd21766e0a7b4d2660d05b6bed5356ca3c22be3e
Type fulltextMimetype application/pdf

Av organisasjonen

Søk utenfor DiVA

GoogleGoogle Scholar
Totalt: 583 nedlastinger
Antall nedlastinger er summen av alle nedlastinger av alle fulltekster. Det kan for eksempel være tidligere versjoner som er ikke lenger tilgjengelige

urn-nbn

Altmetric

urn-nbn
Totalt: 1273 treff
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf