KR20150054484A - Computing apparatus for running web application and method for measuring response time thereof - Google Patents
Computing apparatus for running web application and method for measuring response time thereof Download PDFInfo
- Publication number
- KR20150054484A KR20150054484A KR1020130136961A KR20130136961A KR20150054484A KR 20150054484 A KR20150054484 A KR 20150054484A KR 1020130136961 A KR1020130136961 A KR 1020130136961A KR 20130136961 A KR20130136961 A KR 20130136961A KR 20150054484 A KR20150054484 A KR 20150054484A
- Authority
- KR
- South Korea
- Prior art keywords
- time
- server
- client
- function
- response time
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
BACKGROUND OF THE
In Web applications, response time is one of the important indicators for performance measurement. The response time is largely determined by the processing time (Processing Time) from when the client's request reaches the server side to when the client is ready to send a response, the time the client's request arrived at the server, And a rendering time, which is a time required for outputting the data received from the server side to a screen viewed by an end user.
In recent years, the demand for high-performance Web sites has been increasing as more users are demanding faster response time to web applications. Particularly, in addition to improving the performance on the server side, it is becoming more important to improve the performance on the front-end side. As a result, there is a growing interest in rendering time as to how quickly the data delivered by the server can be displayed to the user.
Although a general APM (Application Performance Monitoring) tool can be used to measure the rendering time, it is very difficult to measure the response time for each function in a screen in a flex-based web application.
An object of the present invention is to provide a computing device and a response time measuring method thereof for driving a flex-based web application capable of measuring response time for each function.
Another object of the present invention is to provide a means for determining performance degradation of a computing device based on a measured response time and for improving the performance of the computing device accordingly.
A client apparatus for driving a flex-based web application according to an exemplary embodiment of the present invention is configured to run a flex-based web application, generate a service request for the web application, and transmit data provided by the server in response to the service request A processor to render; A display unit for displaying the rendered data; And a response time measurement unit for measuring a call time or an end time of a function called by the processor.
In an embodiment, the called function is a function for generating the service request, a function for receiving the data provided by the server, or a function for performing the rendering.
As an embodiment, the processor refers to the measured call time or end time to calculate a function-specific response time of the client apparatus or the server.
As an embodiment, the processing time refers to the first time at which the server receives the service request and the second time at which the server provides the data, thereby calculating the functional response time of the client device or the server .
As an embodiment, the first time and the second time are measured by the server, and the client device, through a Hyper Text Markup Language (HTML) page, the server measures the first time and the second time Or not.
As an embodiment, the calculated function-specific response time is transmitted to the server and stored as log information of the user or the client apparatus.
In one embodiment of the present invention, the calculated function-specific response time may be a processing time indicating a time required for the server to process the service request, a transmission time indicating a time required for data transmission between the client device and the server, And a rendering time indicating the time taken for rendering the data.
As an embodiment, it further includes a storage unit for temporarily or non-temporarily storing the measured call time, the measured end time, or the calculated function-specific response time.
As an embodiment, it is determined whether to measure the call time or the end time of the function according to the user information corresponding to the connection of the client apparatus to the server.
As an embodiment, the response time measuring unit may further include a timer for providing time information on a predetermined time point.
In an embodiment, the timer is synchronized with another timer included in the server.
A server for running a flex-based web application on a client device according to an embodiment of the present invention includes a control unit for processing the service request in response to a service request received from a client apparatus for driving a flex-based web application; A response time measuring unit for measuring a first time at which the service request is received from the client apparatus and a second time at which the client apparatus is provided with a result of processing the service request; And a storage unit for storing a function response time calculated with reference to the measured first time and the second time as log information corresponding to the client apparatus.
In an embodiment, the first time and the second time are provided to the client device for calculating the function response time.
As an embodiment, the function-specific response time may be a processing time indicating a time required for the server to process the service request, a transmission time indicating a time required for data transmission between the client device and the server, And a rendering time indicating the time taken to render the result of processing the service request.
As an embodiment, the Hyper Text Markup Language (HTML) page of the client device controls whether the server measures the first time and the second time.
According to the present invention, it is possible to measure the response time of each function of the computing device driving the flex-based web application.
Further, based on the measured response time, it is possible to determine which of the functions of the computing apparatus is degraded, and thereby improve the performance of the computer apparatus more easily.
1 is a block diagram schematically illustrating a computing system according to the present invention.
2 is a block diagram exemplarily showing the configuration of the client shown in Fig.
3 is a block diagram exemplarily showing the configuration of the server shown in Fig.
FIG. 4 is a diagram illustrating an exemplary method for measuring a function-specific response time according to an exemplary embodiment of the present invention.
5 is a diagram showing a processing time calculating method of the server shown in FIG.
6 is a diagram illustrating a transmission time calculation method of the client and the server shown in FIG.
7 is a view showing a rendering time calculation method of the client shown in FIG.
FIG. 8 is a flowchart illustrating a method of calculating a function response time according to an exemplary embodiment of the present invention.
9 is a diagram illustrating a method for controlling response time measurement of a server, in accordance with an embodiment of the present invention.
10 is a diagram illustrating a method for controlling response time measurement of a client, in accordance with an embodiment of the present invention.
The following detailed description of the invention refers to the accompanying drawings, which illustrate, by way of illustration, specific embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention. The various embodiments of the invention are different, but are not meant to be mutually exclusive. For example, certain features, structures, and characteristics described herein may be implemented in other embodiments without departing from the spirit and scope of the invention in connection with one embodiment. In addition, the position or arrangement of the individual components within each disclosed embodiment may be varied without departing from the spirit and scope of the present invention.
The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention encompasses possible embodiments within the scope of the appended claims and their equivalents. Where similar reference numerals are used in the figures, similar reference numerals used refer to the same or similar functions for various embodiments.
1 is a block diagram schematically illustrating a computing system according to the present invention. Referring to FIG. 1, a
The Flex application, which is designed with a modular structure, loads the compressed flash file (eg, swf) for each module on the screen. Therefore, the data received by the server is actually rendered It is very difficult to measure the time taken until the next time. Therefore, the
In a web application program, the time it takes to load each web page is important. This is called the response time. In a 3-tier environment, the response time includes both the time the server processes the web application service and the time it takes the data logic to run, as well as the time it takes to simply drive the web page itself. The present invention provides a means for improving the overall performance of the
The
The
A specific method for the
According to the above configuration, the
2 is a block diagram exemplarily showing the configuration of the client shown in Fig. 2, the
The
The
The
The response
As an example, the response
For example, when the
When the
The
The
3 is a block diagram exemplarily showing the configuration of the server shown in Fig. 3, the
The
The
2, the
The response
As an example, the response
For example, when the
When the
As an example, the
The
The
FIG. 4 is a diagram illustrating an exemplary method for measuring a function-specific response time according to an exemplary embodiment of the present invention. 4, the
Unlike
Hereinafter, a method of measuring the response time of each function of the
First, when a specific function function exe1, 2111 is called in the
The
When the
In the above series of function flows, the
Hereinafter, referring to Figs. 4 to 7, a specific method of calculating the response time for each function based on the measured times (A, B, C, D, E) will be described. (A), a second time (B), a third time (C), a fourth time (D), and a fifth time Referred to as time (E). 5 to 7 show the processing time of the
4 and 5, the processing time PT of the
4 and 6, the transmission time (TT) between the
As an embodiment, the first transmission time TT1 and the second transmission time TT2 may be calculated separately from the transmission time TT. At this time, the first and second transmission times TT1 and TT2 may be stored in the
4 and 7, the rendering time RT of the
When the processing time (PT), the transmission time (TT) and the rendering time (RT) are calculated as the response time according to the above method, the client (2100) And calls a new execution function (exe3, 2123, see FIG. 4) for communication. The calculated response time is transmitted to the
Here, it is described that the response time is calculated by the
Also, although the
According to the above configuration, the
FIG. 8 is a flowchart illustrating a method of measuring a function response time according to an exemplary embodiment of the present invention. Referring to FIG. 8, the response time measurement method includes steps S110 to S140.
In step S110, the client 2100 (see FIG. 4) calls an execution function for communication with the server to run the flex-based web application.
In step S120, the
In step S130, the
In step S 140, the
According to the above configuration, a method of measuring the response time of each of the
In the following, embodiments with means for controlling whether or not to measure the response time are described in order to prevent the overload of the computing system from increasing by measuring or calculating the response time. For example, to avoid the degradation of the performance of the computing system due to response time measurement and computation, the computing system may be controlled to measure and calculate the response time only at times when system maintenance time or performance tuning is needed. The following embodiments provide specific means for controlling whether or not to calculate the response time as required.
9 is a diagram illustrating a method for controlling response time measurement of a server, in accordance with an embodiment of the present invention. 9, the
In this embodiment, the
As an example, the toggle button click (or control) of the
10 is a diagram illustrating a method for controlling response time measurement of a client, in accordance with an embodiment of the present invention. 10, the
In this embodiment, the
First, when the
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments.
In addition, although specific terms are used herein, they are used for the purpose of describing the present invention only and are not used to limit the scope of the present invention described in the claims or the claims. Therefore, the scope of the present invention should not be limited to the above-described embodiments, but should be defined by the following claims and their equivalents.
1000, 2000, 3000, 4000: Computing system
1100, 2100, 3100, 4100:
1110: Processor 1120:
1130, 1220:
1150 and 1240:
1221, 2211: Log
2110: module 2120: remote object
2210: Web server 2220: DB / CLI
Claims (15)
A display unit for displaying the rendered data; And
And a response time measurement unit that measures a call time or an end time of a function called by the processor.
Wherein the called function is a function for generating the service request, a function for receiving the data provided by the server, or a function for performing the rendering.
Wherein the processor calculates a function-specific response time of the client device or the server by referring to the measured call time or end time.
Wherein the processing time refers to a first time at which the server receives the service request and a second time at which the server provides the data to calculate the functional response time of the client device or the server, A client device running a web application.
Wherein the first time and the second time are measured by the server,
Wherein the client device controls, via an HTML (Hyper Text Markup Language) page, whether the server measures the first time and the second time.
And the calculated response time for each function is transmitted to the server and stored as log information of the user or the client device.
Wherein the calculated function-specific response time is a processing time indicating a time required for the server to process the service request, a transmission time indicating a time required for data transmission between the client device and the server, And a rendering time that represents the amount of time spent rendering the client application.
And a storage unit for temporarily or non-temporarily storing the measured call time, the measured end time, or the calculated function-specific response time.
Based on the user information corresponding to the connection of the client device to the server, whether to measure the call time or the end time of the function.
And a timer for providing time information on a predetermined time point to the response time measurement unit.
Wherein the timer is synchronized with another timer included in the server.
A response time measuring unit for measuring a first time at which the service request is received from the client apparatus and a second time at which the client apparatus is provided with a result of processing the service request; And
And a storage unit for storing a function response time calculated with reference to the first time and the second time as the log information corresponding to the client apparatus.
Wherein the first time and the second time are provided to the client device for calculating the functional response time.
Wherein the function response time is a processing time indicating a time required for the server to process the service request, a transmission time indicating a time required for data transmission between the client device and the server, And a rendering time that represents the amount of time spent rendering a result.
Wherein the server is controlled by the Hyper Text Markup Language (HTML) page of the client device whether the server measures the first time and the second time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020130136961A KR20150054484A (en) | 2013-11-12 | 2013-11-12 | Computing apparatus for running web application and method for measuring response time thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020130136961A KR20150054484A (en) | 2013-11-12 | 2013-11-12 | Computing apparatus for running web application and method for measuring response time thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20150054484A true KR20150054484A (en) | 2015-05-20 |
Family
ID=53390625
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020130136961A KR20150054484A (en) | 2013-11-12 | 2013-11-12 | Computing apparatus for running web application and method for measuring response time thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20150054484A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180100626A (en) * | 2016-01-29 | 2018-09-11 | 텐센트 테크놀로지(센젠) 컴퍼니 리미티드 | GPU resource reconstruction method, user device, system, and storage medium |
-
2013
- 2013-11-12 KR KR1020130136961A patent/KR20150054484A/en not_active Application Discontinuation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180100626A (en) * | 2016-01-29 | 2018-09-11 | 텐센트 테크놀로지(센젠) 컴퍼니 리미티드 | GPU resource reconstruction method, user device, system, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9979618B2 (en) | Detecting and alerting performance degradation during features ramp-up | |
US9954970B1 (en) | System and method of determining latency | |
US8572252B2 (en) | Extensible dynamic performance instrumentation of pages | |
US20120194519A1 (en) | Image Optimization | |
US20120324043A1 (en) | Access to network content | |
US9723056B1 (en) | Adapting a page based on a client environment | |
US9098631B2 (en) | Methods, devices, systems, and non-transitory machine-readable medium for performing an automated calibration for testing of a computer software application | |
US10552290B2 (en) | Measuring user interface responsiveness | |
US10102239B2 (en) | Application event bridge | |
US9584579B2 (en) | Method and system for providing page visibility information | |
US9059959B2 (en) | Client side management of HTTP sessions | |
US10999399B2 (en) | Offline use of network application | |
US8667090B2 (en) | Delivering a webpage to a client | |
US8620997B2 (en) | Client apparatus, computer system, computer readable program storage medium and display method, each for detecting change of display contents in status bar area to display the change | |
US20130124971A1 (en) | Real time web script refresh using asynchronous polling without full web page reload | |
US10021210B1 (en) | Providing faster data access using multiple caching servers | |
KR20150054484A (en) | Computing apparatus for running web application and method for measuring response time thereof | |
US9374437B2 (en) | Schema validation proxy | |
US10796079B1 (en) | Generating a page layout based upon analysis of session variables with respect to a client device | |
WO2023103844A1 (en) | Data processing method and apparatus | |
CN110674435A (en) | Page access method, server, terminal, electronic equipment and readable storage medium | |
CN108228359B (en) | Method and system for integrating web program and R program to process data | |
US20140237133A1 (en) | Page download control method, system and program for ie core browser | |
US9692702B1 (en) | Automated throttling of website polling | |
CN109361767B (en) | Processing method for optimizing client data display error, server and client |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E601 | Decision to refuse application |