Skip to Main Content
Frequently Asked Questions
Submit an ETD
Global Search Box
Need Help?
Keyword Search
Participating Institutions
Advanced Search
School Logo
Files
File List
14099.pdf (544.84 KB)
ETD Abstract Container
Abstract Header
A WebSocket-based Approach to Transporting Web Application Data
Author Info
Hadden, Ross A
Permalink:
http://rave.ohiolink.edu/etdc/view?acc_num=ucin1427813562
Abstract Details
Year and Degree
2015, MS, University of Cincinnati, Engineering and Applied Science: Computer Science.
Abstract
Most web applications serve dynamic data by either deferring an initial page response until the data has been retrieved, or by returning the initial response immediately and loading additional content through AJAX. We investigate another option, which is to return the initial response immediately and send additional content through a WebSocket connection as the data becomes available. We intend to illustrate the performance of this proposition, as compared to popular conventions of both a server-only and an AJAX approach for achieving the same outcome. This dissertation both explains and demonstrates the implementation of the proposed model, and discusses an analysis of the findings. We use a Node.js web application built with the Cornerstone web framework to serve both the content being tested and the endpoints used for data requests. An analysis of the results shows that in situations when minimal data is retrieved after a timeout, the WebSocket method is marginally faster than the server and AJAX methods, and when retrieving populated files or database records it is marginally slower. The WebSocket method considerably outperforms the AJAX method when making multiple requests in series, and when making requests in parallel the WebSocket and server approaches both outperform AJAX by a tremendous amount.
Committee
Paul Talaga, Ph.D. (Committee Chair)
Fred Annexstein, Ph.D. (Committee Member)
John Franco, Ph.D. (Committee Member)
Pages
36 p.
Subject Headings
Computer Science
Keywords
WebSockets
;
Cornerstone
;
Node,js
Recommended Citations
Refworks
EndNote
RIS
Mendeley
Citations
Hadden, R. A. (2015).
A WebSocket-based Approach to Transporting Web Application Data
[Master's thesis, University of Cincinnati]. OhioLINK Electronic Theses and Dissertations Center. http://rave.ohiolink.edu/etdc/view?acc_num=ucin1427813562
APA Style (7th edition)
Hadden, Ross.
A WebSocket-based Approach to Transporting Web Application Data.
2015. University of Cincinnati, Master's thesis.
OhioLINK Electronic Theses and Dissertations Center
, http://rave.ohiolink.edu/etdc/view?acc_num=ucin1427813562.
MLA Style (8th edition)
Hadden, Ross. "A WebSocket-based Approach to Transporting Web Application Data." Master's thesis, University of Cincinnati, 2015. http://rave.ohiolink.edu/etdc/view?acc_num=ucin1427813562
Chicago Manual of Style (17th edition)
Abstract Footer
Document number:
ucin1427813562
Download Count:
549
Copyright Info
© 2015, some rights reserved.
A WebSocket-based Approach to Transporting Web Application Data by Ross A Hadden is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Based on a work at etd.ohiolink.edu.
This open access ETD is published by University of Cincinnati and OhioLINK.