Change search
ReferencesLink to record
Permanent link

Direct link
Real-time Full Duplex Communication Over the Web: A performance comparison between different web technologies
University of Skövde, School of Informatics.
2014 (English)Independent thesis Basic level (degree of Bachelor), 20 credits / 30 HE creditsStudent thesisAlternative title
Realtidskommunikation i full duplex över webben : En prestandajämförelse mellan olika webbteknologier (Swedish)
Abstract [en]

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.

Place, publisher, year, edition, pages
2014. , 75 p.
Keyword [en]
Real-time communication, websocket, server-sent events, short polling, Ajax, performance, web development
Keyword [sv]
Realtidskommunikation, webbutveckling, websocket, short polling, ajax, prestanda
National Category
Computer Science
URN: urn:nbn:se:his:diva-9618OAI: diva2:730563
Subject / course
Computer Science
Educational program
Web Developer - Programming
Available from: 2014-08-11 Created: 2014-06-28 Last updated: 2014-08-11Bibliographically approved

Open Access in DiVA

fulltext(1489 kB)74 downloads
File information
File name FULLTEXT01.pdfFile size 1489 kBChecksum SHA-512
Type fulltextMimetype application/pdf

By organisation
School of Informatics
Computer Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 74 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 174 hits
ReferencesLink to record
Permanent link

Direct link