Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • 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
Enhancing Quality of Service metrics for high fan-in Node.js applications by optimising the network stack: Leveraging IX: The Dataplane Operating System
KTH, School of Computer Science and Communication (CSC).
2015 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Förbättran av Quality of Service för högbelastade Node.js-webbapplikationer genom effektivare operativsystem (Swedish)
Abstract [en]

This thesis investigates the feasibility of porting Node.js, a JavaScript web application framework and server, to IX, a dataplane operating system specifically developed to meet the needs of high performance microsecond-computing type of applications in a datacentre setting. We show that porting requires extensions to the IX kernel to support UDS polling, which we implement. We develop a distributed load generator to benchmark the framework. The results show that running Node.js on IX improves throughput by up to 20.6\%, latency by up to 5.23×, and tail latency by up to 5.68× compared to a Linux baseline.

We show how server side request level reordering affect the latency distribution, predominantly in cases where the server is load saturated.

Finally, due to various limitations of IX, we are unable at this time to recommend running Node.js on IX in a production environment, despite improved metrics in all test cases. However, the limitations are not fundamental, and could be resolved in future work.

Abstract [sv]

Detta exjobb undersöker möjligheterna till att använda IX, ett specialiserat dataplansoperativsystem avsett för högpresterande datacentertillämpningar, för att köra Node.js, ett webapplikationramverk för JavaScript-applikationer. För att porta Node.js till IX krävs att vi utvidgar IX med funktionalitet för samtidig pollning av Unix Domain Sockets och nätverksflöden, vilket visas samt genomförs. Vidare utvecklas en distribuerad lastgenerator för att utvärdera applikationsramverket under IX jämfört baslinje som utgörs av en omodifierad Linuxdistribution. Resultaten visar att throughput förbättras med upp till 20.6\%, latens upp till 5.23× och tail latency upp till 5.68×.

Sedermera undersöker vi huruvida latensvariansen ökat på grund av request-omordningar på serversidan, vilket tycks vara fallet vid hög serverbelastning, även om andra faktorer tycks ha större inverkan vid låg serverbelastning. Slutligen, även om alla storheter förbättrats vid alla observerade mätpunkter, kan ännu inte vidspredd adoption av IX för att köra Node.js applikationer rekommenderas, främst på grund av problem med horisontal skalning samt problem att ingå som frontend-server i en klassisk tiered-datacentre arkitektur.

Place, publisher, year, edition, pages
2015. , 58 p.
Keyword [en]
node.js IX dataplane os QoS
National Category
Computer Science
Identifiers
URN: urn:nbn:se:kth:diva-176504OAI: oai:DiVA.org:kth-176504DiVA: diva2:867903
External cooperation
Data Center Systems Laboratory, École Polytechnique Fédérale de Lausanne
Subject / course
Computer Systems
Educational program
Master of Science - Computer Science
Presentation
2015-10-01, 1537, Lindstedsvägen 3, Stockholm, 12:33 (English)
Supervisors
Examiners
Available from: 2015-11-12 Created: 2015-11-07 Last updated: 2015-11-12Bibliographically approved

Open Access in DiVA

fredrik_lilkaer_master_thesis_nodejs_on_ix.pdf(3421 kB)411 downloads
File information
File name FULLTEXT01.pdfFile size 3421 kBChecksum SHA-512
ff9a18b51d955004db3a7658569535f47db172822e13f613d818f84812634960375f69ac63c2a1dd9226425a3ed2777b4d93084b9e168ac14274e8a8e7f6d23d
Type fulltextMimetype application/pdf

By organisation
School of Computer Science and Communication (CSC)
Computer Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 411 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: 1225 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • 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