Empirical analysis of the impact of packet loss on WebTransport using Socket.IO
2024 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE credits
Student thesis
Abstract [en]
This thesis presents an empirical analysis of the performance of WebTransport and WebSocket using the Socket.IO framework under varying network conditions. The thesis investigates two primary experiments, message round trip time and multiplexing performance, both conducted under three scenarios—perfect network (0% packet loss), moderate network (5% packet loss), and poor network (15% packet loss). The experiments were conducted on a system running Fedora 40 with a 12th Gen Intel Core i5-12600K processor and 16 GB of memory. The findings demonstrate that WebTransport mitigates Head-of-Line (HOL) blocking more effectively than WebSocket, especially in environments with degraded networks. WebTransport (Reliable) provided a significant performance advantage under suboptimal network conditions when measuring message round trip time, while WebTransport (Unreliable) consistently demonstrated slightly lower latency but with some data loss. When multiplexing, WebTransport showed significant performance benefits compared to using WebSocket.
Place, publisher, year, edition, pages
2024. , p. 23
Series
UMNAD ; 1474
Keywords [en]
websockets, webtransport, socket.io, tcp, udp, quic, network protocols, packet loss, network conditions, real-time, browser
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:umu:diva-227071OAI: oai:DiVA.org:umu-227071DiVA, id: diva2:1876796
Educational program
Bachelor of Science Programme in Computing Science
Supervisors
Examiners
2024-06-262024-06-252024-06-26Bibliographically approved