liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Performance study of JavaScript WebSocket frameworks
Linköping University, Department of Computer and Information Science.
2020 (English)Independent thesis Basic level (degree of Bachelor), 10,5 credits / 16 HE creditsStudent thesisAlternative title
Prestandajämförelse av JavaScript WebSocket ramverk (Swedish)
Abstract [en]

The requirements on software and applications are getting harder. If they are perceived as slow or power hungry, the customers will be looking for other solutions instead. The development of open source frameworks is rapid. Frameworks are being built and updated continuously, with different performance, functionality and complexity. This bachelor’s thesis studies and compares WebSocket frameworks in JavaScript, with focus on performance and scalability. A pre-study was made to find out which parameters are of interest when testing and measuring the performance of web servers. A test bench was then built and plain WebSocket, Socket.IO and SockJS were benchmarked. The study shows that there exist significant differences in performance and trends that indicate that some frameworks are superior to others in high concurrency applications. Plain WebSocket can be up to 3.7 times as fast to receive a message from the server compared to Socket.IO and 1.7 times as fast compared to SockJS. Plain WebSocket scales well in terms of response time and memory requirement with higher concurrency levels. Socket.IO requires a lot of memory which is a potential problem. SockJS does not scale well at all and does not manage the same level of concurrency as the other two.

Place, publisher, year, edition, pages
2020. , p. 16
Keywords [en]
JavaScript, WebSocket, Performance
National Category
Computer Engineering
Identifiers
URN: urn:nbn:se:liu:diva-168383ISRN: LIU-IDA/LITH-EX-G-20/025-SEOAI: oai:DiVA.org:liu-168383DiVA, id: diva2:1459815
External cooperation
Zenon AB
Subject / course
Computer Engineering
Presentation
2020-06-08, 13:00
Supervisors
Examiners
Available from: 2020-08-21 Created: 2020-08-20 Last updated: 2020-08-21Bibliographically approved

Open Access in DiVA

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

By organisation
Department of Computer and Information Science
Computer Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 9837 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

urn-nbn

Altmetric score

urn-nbn
Total: 1857 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf