Skip to main content
Login | Suomeksi | På svenska | In English

WebSocket vs WebRTC in the stream overlays of the Streamr Network

Show simple item record 2021-07-26T06:30:03Z 2021-07-26T06:30:03Z 2021-07-26
dc.title WebSocket vs WebRTC in the stream overlays of the Streamr Network en
ethesis.faculty Matemaattis-luonnontieteellinen tiedekunta fi
ethesis.faculty Faculty of Science en
ethesis.faculty Matematisk-naturvetenskapliga fakulteten sv
ethesis.faculty.URI Helsingin yliopisto fi University of Helsinki en Helsingfors universitet sv
dct.creator Juslenius, Santeri
dct.issued 2021
dct.language.ISO639-2 eng
dct.abstract The Streamr Network is a decentralized publish-subscribe system. This thesis experimentally compares WebSocket and WebRTC as transport protocols in the system’s d-regular random graph type unstructured stream overlays. The thesis explores common designs for publish-subscribe and decentralized P2P systems. Underlying network protocols including NAT traversal are explored to understand how the WebSocket and WebRTC protocols function. The requirements set for the Streamr Network and how its design and implementations fulfill them are discussed. The design and implementations are validated with the use simulations, emulations and AWS deployed real-world experiments. The performance metrics measured from the real-world experiments are compared to related work. As the implementations using the two protocols are separate incompatible versions, the differences between them was taken into account during analysis of the experiments. Although the WebSocket versions overlay construction is known to be inefficient and vulnerable to churn, it is found to be unintentionally topology aware. This caused the WebSocket stream overlays to perform better in terms of latency. The WebRTC stream overlays were found to be more predictable and more optimized for small payloads as estimates for message propagation delays had a MEPA of 1.24% compared to WebSocket’s 3.98%. Moreover, the WebRTC version enables P2P connections between hosts behind NATs. As the WebRTC version’s overlay construction is more accurate, reliable, scalable, and churn tolerant, it can be used to create intentionally topology aware stream overlays to fully take over the results of the WebSocket implementation. en
dct.subject Overlay Networks
dct.subject publish-subscribe
dct.subject WebRTC
dct.subject WebSocket
dct.language en
ethesis.isPublicationLicenseAccepted true
ethesis.language englanti fi
ethesis.language English en
ethesis.language engelska sv
ethesis.thesistype pro gradu -tutkielmat fi
ethesis.thesistype master's thesis en
ethesis.thesistype pro gradu-avhandlingar sv
dct.identifier.ethesis E-thesisID:3d553cb8-169e-46db-8224-dbd1c2dbd77f
dct.identifier.urn URN:NBN:fi:hulib-202107263432
dc.type.dcmitype Text
ethesis.facultystudyline Hajautetut järjestelmät ja tietoliikenne fi
ethesis.facultystudyline Networking and Services en
ethesis.facultystudyline Distribuerade system och datakommunikation sv
ethesis.mastersdegreeprogram Tietojenkäsittelytieteen maisteriohjelma fi
ethesis.mastersdegreeprogram Master's Programme in Computer Science en
ethesis.mastersdegreeprogram Magisterprogrammet i datavetenskap sv

Files in this item

Files Size Format View
Juslenius_Santeri_gradu_2021.pdf 2.529Mb PDF

This item appears in the following Collection(s)

Show simple item record