Real-time Full Duplex Communication Over the Web : A performance comparison between different web technologies
As the web browser becomes an increasingly powerful tool for the average web user, with more features and capabilities being developed constantly, the necessity to determine which features perform better than others in the same area becomes more important. This thesis investigates the performance of...
Main Author: | |
---|---|
Format: | Others |
Language: | English |
Published: |
Högskolan i Skövde, Institutionen för informationsteknologi
2014
|
Subjects: | |
Online Access: | http://urn.kb.se/resolve?urn=urn:nbn:se:his:diva-9618 |
id |
ndltd-UPSALLA1-oai-DiVA.org-his-9618 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-UPSALLA1-oai-DiVA.org-his-96182018-01-12T05:11:30ZReal-time Full Duplex Communication Over the Web : A performance comparison between different web technologiesengRealtidskommunikation i full duplex över webben : En prestandajämförelse mellan olika webbteknologierBigestans, ElofHögskolan i Skövde, Institutionen för informationsteknologi2014Real-time communicationwebsocketserver-sent eventsshort pollingAjaxperformanceweb developmentRealtidskommunikationwebbutvecklingwebsocketshort pollingajaxprestandaComputer SciencesDatavetenskap (datalogi)As the web browser becomes an increasingly powerful tool for the average web user, with more features and capabilities being developed constantly, the necessity to determine which features perform better than others in the same area becomes more important. This thesis investigates the performance of three separate technologies used to achieve full-duplex real time communication over the web: short polling using Ajax, server-sent events and the WebSocket protocol. An experiment was conducted measuring the performance over three custom-built web applications (one per technology being tested), comparing latency and number of HTTP requests over 100 messages being sent through the application. Additionally, the latency measurements were made over three separate network conditions. The experiment results suggest the WebSocket protocol outperforms both short polling using Ajax and server-sent events by large margins, varying slightly depending on network conditions. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:his:diva-9618application/pdfinfo:eu-repo/semantics/openAccess |
collection |
NDLTD |
language |
English |
format |
Others
|
sources |
NDLTD |
topic |
Real-time communication websocket server-sent events short polling Ajax performance web development Realtidskommunikation webbutveckling websocket short polling ajax prestanda Computer Sciences Datavetenskap (datalogi) |
spellingShingle |
Real-time communication websocket server-sent events short polling Ajax performance web development Realtidskommunikation webbutveckling websocket short polling ajax prestanda Computer Sciences Datavetenskap (datalogi) Bigestans, Elof Real-time Full Duplex Communication Over the Web : A performance comparison between different web technologies |
description |
As the web browser becomes an increasingly powerful tool for the average web user, with more features and capabilities being developed constantly, the necessity to determine which features perform better than others in the same area becomes more important. This thesis investigates the performance of three separate technologies used to achieve full-duplex real time communication over the web: short polling using Ajax, server-sent events and the WebSocket protocol. An experiment was conducted measuring the performance over three custom-built web applications (one per technology being tested), comparing latency and number of HTTP requests over 100 messages being sent through the application. Additionally, the latency measurements were made over three separate network conditions. The experiment results suggest the WebSocket protocol outperforms both short polling using Ajax and server-sent events by large margins, varying slightly depending on network conditions. |
author |
Bigestans, Elof |
author_facet |
Bigestans, Elof |
author_sort |
Bigestans, Elof |
title |
Real-time Full Duplex Communication Over the Web : A performance comparison between different web technologies |
title_short |
Real-time Full Duplex Communication Over the Web : A performance comparison between different web technologies |
title_full |
Real-time Full Duplex Communication Over the Web : A performance comparison between different web technologies |
title_fullStr |
Real-time Full Duplex Communication Over the Web : A performance comparison between different web technologies |
title_full_unstemmed |
Real-time Full Duplex Communication Over the Web : A performance comparison between different web technologies |
title_sort |
real-time full duplex communication over the web : a performance comparison between different web technologies |
publisher |
Högskolan i Skövde, Institutionen för informationsteknologi |
publishDate |
2014 |
url |
http://urn.kb.se/resolve?urn=urn:nbn:se:his:diva-9618 |
work_keys_str_mv |
AT bigestanselof realtimefullduplexcommunicationoverthewebaperformancecomparisonbetweendifferentwebtechnologies AT bigestanselof realtidskommunikationifullduplexoverwebbenenprestandajamforelsemellanolikawebbteknologier |
_version_ |
1718605750691954688 |