Research and Performance Analysis of HTML5 WebSocket for a Real-time Multimedia Data Communication Environment

Similar documents
Study of HTML5 WebSocket for a Multimedia Communication

Customized Efficient Collection of Big Data for Advertising Services

Big Data Collection Study for Providing Efficient Information

Real Time Data Communication over Full Duplex Network Using Websocket

FIVE SIGNS YOU NEED HTML5 WEBSOCKETS

A Noble Integrated Management System based on Mobile and Cloud service for preventing various hazards

Home Appliance Control and Monitoring System Model Based on Cloud Computing Technology

A Study on Integrated Operation of Monitoring Systems using a Water Management Scenario

Step into the Future: HTML5 and its Impact on SSL VPNs

The Stock Trading System Using X-DBaaS in Cloud Environment

The Development of an Intellectual Tracking App System based on IoT and RTLS

Cloud-based Distribute Processing of User-Customized Mobile Interface in U-Sensor Network Environment

Live Guide System Architecture and Security TECHNICAL ARTICLE

Performance Comparison Analysis of Linux Container and Virtual Machine for Building Cloud

University Dedicated Next Generation ERP System

Research on Server Push Methods in Web Browser based Instant Messaging Applications

A Design of Access Control Framework for User Identification Based on Personal Cloud

Designing and Embodiment of Software that Creates Middle Ware for Resource Management in Embedded System

A Digital Door Lock System for the Internet of Things with Improved Security and Usability

Research of Web Real-Time Communication Based on Web Socket

Design of a Web-Services Based Spam Filtering

Development of Integrated Management System based on Mobile and Cloud Service for Preventing Various Hazards

A Study of Key management Protocol for Secure Communication in Personal Cloud Environment

A Study on Design of Health Device for U-Health System

Design and Implementation of Automatic Attendance Check System Using BLE Beacon

Multi-level Metadata Management Scheme for Cloud Storage System

Security Threats on National Defense ICT based on IoT

A Mobile Application for Information Sharing and Collaboration among Co-located People

All You Can Eat Realtime

On site big data analysis system model to promote the competiveness of manufacturing enterprises

How To Detect An Advanced Persistent Threat Through Big Data And Network Analysis

HTTPS is Fast and Hassle-free with CloudFlare

The X-DBaaS-Based Stock Trading System to Overcome Low Latency in Cloud Environment

The Advantages and Disadvantages of Extended Rtps (NLP)

Influence of Load Balancing on Quality of Real Time Data Transmission*

Fast Device Discovery for Remote Device Management in Lighting Control Networks

Implementation of IR-UWB MAC Development Tools Based on IEEE a

Integrating Web Messaging into the Enterprise Middleware Layer

Experimental Comparison of Hybrid and Native Applications for Mobile Systems

Design of Big Data-based Greenhouse Environment Data Consulting System for Improving Crop Quality

Adding Advanced Caching and Replication Techniques to the Apache Web Server

D1.2 Network Load Balancing

Mobile Hybrid Cloud Computing Issues and Solutions

Web Interface using HTML5 for Interaction between Mobile Device & Cloud- Services

Flexible Routing and Load Control on Back-End Servers. Controlling the Request Load and Quality of Service

A Design and Implementation of Network Traffic Monitoring System for PC-room Management

Repeater. BrowserStack Local. browserstack.com 1. BrowserStack Local makes a REST call using the user s access key to browserstack.

Development of Integrated Management System based on Mobile and Cloud service for preventing various dangerous situations

Design and Analysis of Mobile Learning Management System based on Web App

Lets3D: A Collaborative 3D Editing Tool Based On Cloud Storage

A study on Standardization of Integrated database for Intelligent water information management

White Paper. Enhancing Website Security with Algorithm Agility

Developing Safety Management Systems for Track Workers Using Smart Phone GPS

Success factors for the implementation of ERP to the Agricultural Products Processing Center

Development of a Service Robot System for a Remote Child Monitoring Platform

CONTENT of this CHAPTER

Two-Level Metadata Management for Data Deduplication System

Development of Performance Testing Tool for Railway Signaling System Software

The Design and Implementation of the Integrated Model of the Advertisement and Remote Control System for an Elevator

Development of an Ignition Interlock Device to Prevent Illegal Driving of a Drunk Driver

Titolo del paragrafo. Titolo del documento - Sottotitolo documento The Benefits of Pushing Real-Time Market Data via a Web Infrastructure

Crime Hotspots Analysis in South Korea: A User-Oriented Approach

DESIGN AND IMPLEMENTATION OF AN INTRANET SECURITY AND ACCESS CONTROL SYSTEM IN UBI-COM

Cloud to Device Messaging with Voice Notification Using GCM

Accelerating Cloud Based Services

IEEE C802.16e-04/522. IEEE Broadband Wireless Access Working Group <

A Study on the Dos Prevention System for SPT-based Sync Flooding Protection

DOCUMENT REFERENCE: SQ EN. SAMKNOWS TEST METHODOLOGY Web-based Broadband Performance White Paper. July 2015

Reverse Auction-based Resource Allocation Policy for Service Broker in Hybrid Cloud Environment

A Proposed Integration of Hierarchical Mobile IP based Networks in SCADA Systems

HHB+tree Index for Functional Enhancement of NAND Flash Memory-Based Database

VPN over Satellite A comparison of approaches by Richard McKinney and Russell Lambert

CARDA: Content Management Systems for Augmented Reality with Dynamic Annotation

Chapter 3. Internet Applications and Network Programming

A Survey on Security Threats and Security Technology Analysis for Secured Cloud Services

Extraction of Risk Factors Through VOC Data Analysis for Travel Agencies

MMGD0204 Web Application Technologies. Chapter 1 Introduction to Internet

An Application of Data Leakage Prevention System based on Biometrics Signals Recognition Technology

Ranked Keyword Search Using RSE over Outsourced Cloud Data

SSL VPN vs. IPSec VPN

Voice and Video over Wireless LAN

A Study on UNIX Server Consolidation by Virtualization

XMPP A Perfect Protocol for the New Era of Volunteer Cloud Computing

AN OVERVIEW OF QUALITY OF SERVICE COMPUTER NETWORK

Concept Design of Testbed based on Cloud Computing for Security Research

Purpose Computer Hardware Configurations... 6 Single Computer Configuration... 6 Multiple Server Configurations Data Encryption...

Cloud Computing based Livestock Monitoring and Disease Forecasting System

Exchange of Data for Big Data in Hybrid Cloud Environment

Security Measures of Personal Information of Smart Home PC

Achieving a Personal Cloud Environment

A Study on IP Exposure Notification System for IoT Devices Using IP Search Engine Shodan

Preamble: Remote Storage in Android Using SCTP

The Bayesian Network Methodology for Industrial Control System with Digital Technology

Review of the Techniques for Smart Learning Systems

A Robust Multimedia Contents Distribution over IP based Mobile Networks

Signature Amortization Technique for Authenticating Delay Sensitive Stream

Industrial Control Systems Vulnerabilities and Security Issues and Future Enhancements

Cisco Application Networking for Citrix Presentation Server

Effective Vector Data Transmission and Visualization Using HTML5

DNS (Domain Name System) is the system & protocol that translates domain names to IP addresses.

Transcription:

Vol.46 (Multimedia 2014), pp.307-312 http://dx.doi.org/10.14257/astl.2014.46.64 Research and Performance Analysis of HTML5 WebSocket for a Real-time Multimedia Data Communication Environment Jin-tae Park 1, Hyun-seo Hwang 1, Jun-soo Yun 1, Il-young Moon 1, 1 School of Computer Science and Engineering, Korea University of Technology and Education {wlsxo05, smilebear1, yuntn55, iymoon}@koreatech.ac.kr Abstract. Recently, with the advent HTML5, the performance of Web service has improved. It was difficult to configure the web services using only HTML. However, communication between the client and the server is now possible because of HTML5. HTML5 has many new features. One of the most powerful features is the WebSocket. The WebSocket aims to solve the problems of the conventional communication method, though it has several restrictions. Therefore, in this study, experiments were conducted to measure the performance analysis of WebSocket. We conclude by presenting the direction of future research in this field. Keywords: HTML5, WebSocket, Multi-media Data, HTTP, Polling 1 Introduction HTML5 has attracted significant attention in the recent years. HTML5 is the nextgeneration standard proposed in HTML [1]. It is not possible to configure the Web services using only HTML. However, with the advent of HTML5, it is possible for the clients and servers to communicate. Some features of HTML5 may be provided to Web services without using external modules. The browser manufacturers worldwide are cooperating in the development of HTML5. The most powerful feature is the ability of the WebSocket application programming interface (API). One of the early purposes of the Web was to link a document using hyperlinks and facilitate document transfer. The HTTP protocol for the network is a model that handles this purpose. However, with changing times and with developments in the environment, the purpose of the Web no longer focuses only on sharing longer documents. In the HTML5 initiative, many specifications have been developed under the banner of the Web application environment that are not standardized and are inconsistent with the available plug-ins, which was one of its main purposes. Among them is the specification for real-time two-way communication in a pure Web environment. Instead of evolving from HTTP communication, merely using an existing web socket shows significant improvements in properties [2]. In particular, in the event-based ISSN: 2287-1233 ASTL Copyright 2014 SERSC

Vol.47 (Multimdedia 2014) Web application, which is based on real-time communication, the effect is even greater. The HTML5 WebSocket technology may be able to receive information quickly via the push real time, and it may reduce the wait time for unnecessary network traffic. Therefore, in this paper, we conducted research on the HTML 5 WebSocket performance analysis by comparing the overhead depending on the number of concurrent users and the speed of the real-time multimedia communication. 2 HTML5 WebSocket Technology As a Web application platform and a next-generation technology for productivity improvement of Web development, HTML5 is an open Web standard created to provide a better user experience. It has become possible through HTML5 to provide an excellent Web service rapidly [3], [4]. The function of the WebSocket technology was to improve performance. Two-way data communication in real time actually corresponds to numerous concurrent connections. In this case, the real-time aspects specifically, WebSocket technology is often used. If the WebSocket technology is used, the unnecessary HTTP header data must be removed first in order to quickly send and receive pure data [5]. This results in a reduction of the amount of data being transmitted and received; consequently, this reduces the load on the server and the network. Then, using the WebSocket Secure (WSS) protocol, security was enhanced with a unique algorithm for encryption / decryption of data. Figure 1 is a graph comparing the conventional communication method and new WebSocket system. Thus, with the use of the WebSocket technology, connection-oriented full-duplex communication, such as TCP sockets, is possible [6]. Using features such as these, we were able to implement more effectively the development of applications that allow chatting from the Web, real-time games, and multimedia delivery. Fig. 1. Comparison of WebSocket and Conventional Polling Methods 308 Copyright 2014 SERSC

Vol.46 (Multimedia 2014) 3 Design and Implementation of the Experiment 3.1 Design The following assumptions are made: WebSocket technology is required. Real-time two-way data communication is required. There are many concurrent connections. It is necessary to extend the TCP-based communication browser. The developer is required to use the easy-to-use API net reason. It is necessary to extend the SOA beyond environments such as the cloud, and Web. Therefore, in this paper, our experimental design functions through the polling conventional manner with real-time two-way data communication using the WebSocket methodology through the transfer delay time. We compare the overhead corresponding to the number of concurrent users, and analyze its performance. To ensure that the experiment is accurate, we implemented the Web to execute the polling method and the WebSocket technology to execute the multimedia data communication system. For the client polling method, we use the setinterval() method, and transmit the HTTP requests at regular intervals through the browser. 3.2 Experimental Results We compared the overhead of the network implemented via the server and the client. As shown in Fig. 2(a), the system is a WebSocket header data request and the response does not exist. On the other hand, as shown in Fig. 2(b), in the polling method, whenever there is a response to the HTTP request, the HTTP headers are passed, and the associated overhead occurs. (a) Value of WebSocket header (b) Value of polling header Fig. 2. Comparison of the actual overhead of WebSocket and polling method In order to communicate multimedia data of one gigabyte, the polling method is used. The WebSocket system needs the capacity of the header data to be about 1,000 Copyright 2014 SERSC 309

Vol.47 (Multimdedia 2014) bytes; the header is not needed because of the low data capacity. It is assumed that when ten persons access the multimedia data of one gigabyte using the polling method, (that the header data capacity is 10,000 bytes, then when 100 people access the multimedia data of one gigabyte, that the header data capacity will be 100,000 bytes. On the other hand, with the WebSocket type, the additional capacity does not occur. These additional header data generate the overhead for a large number of users on the network. (Bps) 500 400 300 200 100 0 Fig. 3. Comparison of the overhead generated by the polling and WebSocket method based on the concurrent number of users In addition, we also measured the transfer delay time and the overhead generated by increasing the number of concurrent connections. We compared the overhead generated by an increasing number of concurrent users. Figure 3 shows the results. As the concurrent number of users increase, the overhead of the polling method increases, while the overhead of WebSocket system was barely noticeable. In the polling method, starting from the client s request, the forward delay time, the time of 60 ms consuming, and the time while waiting re-request, even if the response occurs after the response time from the server, all become overhead. However, using the WebSocket system, connections that occur after the first connection, resulted in the connection being maintained, with no additional latency. Figure 4 is a graph comparing the response times of the system using the polling and WebSocket methods. The x-axis represents the number of requests, and the y-axis represents the response time (ms). 310 Copyright 2014 SERSC

Vol.46 (Multimedia 2014) 5000 4000 3000 2000 Polling WebSocket 1000 0 1 10 50 100 Fig. 4. Comparison of the response time of the WebSocket and polling method 4 Conclusion With the advent of HTML5, we are able to provide better service, which is significantly faster than the existing Web services. HTML5 uses an open Web standard as a Web application platform and is a next-generation productivity improvement for Web development, which works together to create a better user experience. The function of WebSocket technology is to improve performance. This reduces the network load when compared to conventional methods. The WebSocket technology is often used when real-time two-way data communication is required. In particular, the positive effects of using the WebSocket technology are more pronounced while using web applications based on real-time two-way data communication. On the other hand, not many browsers that support HTML5 support web sockets. Further, if security is enabled while using a web socket, it proves to be disadvantageous. Currently, technical research is actively promoted for using WebSocket technology to improve its performance. In addition, future research can be conducted to study cross-browser compatibility with WebSocket technology, and reduction of its security vulnerability can be researched. Acknowledgement. This research was financially supported by the Ministry of Knowledge Economy(MKE) and Korea Institute for Advancement of Technology(KIAT) through the Research and Development for Regional Industry. Copyright 2014 SERSC 311

Vol.47 (Multimdedia 2014) References 1. Chung-young Lee: The Next Generation of Web Standards HTML5. Journal of ASKO (2012). 2. Eun-min Lee: The Impact of HTML5 on Web. Journal of KIISE (2011). 3. Hun-hoi Choi, Geun-hyung Kim: A Study on the Web Service Migration Based on WebSocket. Journal of KIPS (2011). 4. Ho-youn Kim, Dong-hoon Lee, Dong-young Park, Eun-hyang Lee: Model Definition for Type and Relation of HTML5 based Smart TV Application. Journal of KOSBE (2013). 5. Yu-doo Kim, Mo-han Kim, Il-young Moon: Web Based File Transmission System using HTML5. Journal of KONI (2012). 6. Sin-hee Lee, Won-kyu Lim, Jae-hyun Kim: Issue of Information Security and the Outlook of the HTML5 Next Generation Web Standard. Journal of KSII (2012). 312 Copyright 2014 SERSC