Научная статья на тему 'Analysis of website security status based on performance metrics'

Analysis of website security status based on performance metrics Текст научной статьи по специальности «СМИ (медиа) и массовые коммуникации»

CC BY
140
41
i Надоели баннеры? Вы всегда можете отключить рекламу.
Ключевые слова
WEBSITE / METRICS / WEBSITE ANALYSIS / WEBSITE TESTING / MARKOV CHAIN

Аннотация научной статьи по СМИ (медиа) и массовым коммуникациям, автор научной работы — Богатиков В.Н., Дим Д.Т.

Актуальность работы заключается в анализе современных трендов развития web-сайтов и интернет-инфраструктуры, а также в отражении условий для оптимальной работы систем, представляющих информацию, выполняющих функции электронной коммерции и предоставляющих различные виды услуг. В последние два десятилетия общая информация во всемирной паутине WWW и количество пользователей увеличились почти в двести раз.С их ростом требования к технике стали еще критичнее, но оценке с коммерческой точкой зрения уделяется больше внимания, чем с технической.В работе особое внимание уделяется оценке качества работы web-сайтов с точки зрения информационно-технологических показателей, рассмотрена нечеткая цепь Маркова с выделением конкретных состояний производительности web-сайтов.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

The paper is relevant due to the constant evolution of Internet infrastructure including conditions for optimal operation of web systems, information sources, e-commerce and various types of services. During the past twenty years, general information in the World Wide Web (WWW) and the number of users has increaseв almost two hundredfold. With this growth, requirements for technology has become even more critical. However, current research is more about a commercial aspect then the technical one. The paper pays special attention to assessing website performance quality regarding information technology indicators. It also considers a fuzzy Markov chain to define specific website productivity states.

Текст научной работы на тему «Analysis of website security status based on performance metrics»

Software & Systems Received 15.06.17

DOI: 10.15827/0236-235X.030.4.654-657 2017, vol. 30, no. 4, pp. 654-657

ANALYSIS OF WEBSITE SECURITY STATUS BASED ON PERFORMANCE METRICS

D.T. Dim 1, Postgraduate Student, dim.dike@yahoo.com

V.N. Bogatikov 1, Dr.Sc. (Engineering), Professor, vnbgtk@mail.ru

1Tver State Technical University, Nikitin Quay 22, Tver, 1 70026, Russian Federation

Abstract. The paper is relevant due to the constant evolution of Internet infrastructure including conditions for optimal operation of web systems, information sources, e-commerce and various types of services. During the past twenty years, general information in the World Wide Web (WWW) and the number of users has increaseB almost two hundredfold. With this growth, requirements for technology has become even more critical. However, current research is more about a commercial aspect then the technical one.

The paper pays special attention to assessing website performance quality regarding information technology indicators. It also considers a fuzzy Markov chain to define specific website productivity states.

Keywords: website, metrics, website analysis, website testing, Markov chain.

In design, development and operation of a website as a resource, the main criteria and indicators (so-called metrics) are used in assessing its quality and effectiveness [1, 2]. The issues related to cross-platform, presentation and usability of an interface are not considered.

The following metrics were selected to assess website performance:

— time to the first byte (TTFB, ms);

— domain name server (DNS) lookup time (ms);

— universal resource locator (URL) redirection;

— number of HTTP requests;

— page size (kb);

— connection time (ms).

TTFB. In web applications and websites, there are different sub-categories of latency. TTFB is the time required to receive the first byte from the server after sending HTTP GET request.

DNS lookup time. Like TTFB, DNS lookup refers to a sub-category of latency and reflects the time required to look up the IP address of the corresponding domain.

URL redirection. Automatic transition by a website from one page to another after user's GET request. For example, visiting google.com on a device in the Russian Federation without tunneling defaults to google.ru.

The number of HTTP requests. This is a number of objects required when loading websites. Naturally, higher number of requests results in longer load times.

Page size. The cumulative page size with images, animations, drawings, style sheets, scripts and html/htm code.

Connection time (ms). Another component of latency, which reflects the time required to establish a TCP connection.

Managing these metrics will lead to better site performance, since they belong to a server and network environment of websites. To analyze performance of websites, first, it is necessary to collect data.

There are two main types of data collection tools [3].

1. Counters. A small code embedded in webpages loaded by a browser. Most prominent solutions include OpenStat, GoogleAnalytics, Yandex.metrics, Liveln-ternet and others.

2. Log analyzers. They provide the ability to collect statistical data and compose their own special reports through installation on a server.

Counters [4-8] were primarily used to collect data for selected metrics, which further characterizes different website states.

Analysis of website states

The analysis of website security states was based on the following assumptions:

- absence of change in core content;

- the probability of a transition from one state to another depends solely on the current state, and not the previous one;

- the probability of a transition depends on a change in parameter or a set of parameters.

The state of the system at any given time is described by specifying its coordinates. Knowing these values at a given time t, we can determine evolution of the system under the influence of internal and external factors in subsequent time periods.

Each website productivity state is denoted by Si, where i = 0 ~ 6.

5*0 ~S6. System states determined based on selected metrics. The transition between states occurs due to change (improvement or deterioration) in hardware, software, network, their interaction with each other and the environment (as shown in a figure). The most important part in their interaction is how they directly affect website performance.

Characteristics of different website states are shown in table 1:

S0 - Inoperative state. Characterized by high DNS lookup time exceeding 1 200 ms, page size >7 168 kb, redirects >7, TTFB exceeding 3 000 ms, number of HTTP requests >180 and the connection time exceeding 5 500 ms. This state is usually accompanied by

53 - third improvement stage. This state corresponds to S2 except for DNS lookup time, which is 160 <Tdns < 380 ms.

54 - satisfactory functional stage. This state corresponds to S3 except for the following parameters: DNS lookup time < 380 ms; page size 350 <P <700 kb; TTFB delay is below 280 ms.

55 - operational state. This state corresponds to S4 except for the following parameters: page size 180 <P <350 kb, redirects < 7 and connection below 286 ms.

56 - optimal working state of websites. This state corresponds to S5 with exceptions of the following metrics: DNS lookup time is below 200 ms, redirects <3, page size < 160 kb, TTFB delay is below 180 ms and the connection time <250 ms.

It should be noted that the majority of existing websites on the WWW are located in states S3S5 [1].

Consequently, the states are characterized as showed in table 2. Table 3 shows the indicators of existing websites.

Measures for managing website security

The main problem in ensuring proper functioning of websites is in the implementation of a set of measures aimed at maintaining operability, sustainabil-ity and development potential of websites. One of the

Table 1

Identification of website states

Таблица 1

Идентификация состояния web-сайтов

Markov chain state and transition diagram

Диаграмма состояний и переходов марковской цепи

HTTP error codes (including but not limited to 404, 502), unavailability of the requested link or page, and expiration of waiting time.

51 - first improvement stage. This state corresponds to So with exceptions to connection time and DNS lookup time, which are 1 500 ms < Tcon < 5 500 ms and 880 < Tdns < 1 200 ms respectively.

52 - second improvement stage. This state adheres to Si except for TTFB and the number of HTTP requests, which are 780 <D < 900 ms and 62 <Rq <69 respectively.

Where Di, D2, D3 are small, medium, large TTFB; TdnsI, Tdns2, Tdns3 - small, medium, large DNS lookup time; Pi, P2, P3 - small, medium, large page sizes; Rdi, Rd2, Rd3 - small, medium, large number of redirects; Rqi, Rq2, Rq3 - small, medium, large number of HTTP-request; TconI, Tcon2, Tcon3 - small, medium, large connection times

Table 2

Classification of website states

Таблица 2

Классификация состояния web-сайтов

Si Tuple of website states States

So <D3, TDNs3, Рз, Rd3, Rq3, Tcon3> Inoperable

Sl <D3, Tdns2, Рз, Rd3, Rq3, Tcon2>

S2 <D2, Tdns2, Рз, Rd3, Rq2, Tcon2> Average

Sз <D2, Tdns2, Рз, Rd3, Rq2, Tcon2>

S4 <Dl, TdnsI, Pi, Rd3, Rq2, Tcon2> Satisfactory

S5 <Dl, TdnsI, Pl, Rd2, Rq2, Tcon1>

S6 <Dl, TdnsI, Pl, Rdl, Rql, Tcon1>. Optimal

Table 3

Indicators of existing websites

Таблица 3

Показатели существующих web-сайтов

Websites D(ms)* TCON(ms) P(kb) Rd Rq TDNS(ms) Measuring tools

facebook.com 26 (2.9) 121 377 0 27 8 GtMetrix

wordpress.org 229 (2) 184 3072 0 46 1 https://gtmetrix. com

wikipedia.org 48 (0.9) 23 108 0 9 35 Webpage test

mail.ru 215 (6.2) 70 622 3 146 133 http ://www. webpagetest. org

narod.ru 18 (6.3) 42 895 0 43 2 Google Developer tools (Chrome)

yandex.ru 53 (5.4) 30 467 0 35 85 Ultra-tools

rakuten.co.jp 275 (21.3) 262 7520 0 803 175 https://www.ultratools.com/

dangote.com 1 (15) 141 1024 0 39 2 Pingdom

tehetem.com 2 (14.5) 30 352 0 16 15 https://tools.pingdom.com/

* - values in brackets denotes complete load times in seconds as compared to the TTFB in milliseconds.

most important measures is monitoring, which enables not only the ability to keep track of all processes on websites, but also to prevent various safety and efficiency threats in a timely manner. Amongst the probable criteria to monitor, the following might be identified as key areas [9]:

- DNS lookup time;

- response time;

- scheduled task execution;

- wait times for static files;

- databases and their connections.

In this case, each area contains a specific set of metrics with each composition significantly different from the other.

Conclusion

Monitoring and forecasting are the most important parts of managing a complex security process. The technological, technical and economic consequences of information technology development, maximum use of computational and financial resources depends significantly on them. In order to control a process effectively, it is necessary to detect and prevent crisis situa-

tions, which thereby ensures effective safety management. This requires the existence of unified identifiable metrics and states of an information system, as well as an accurate definition of the main threats and the subsequent development of measures to eliminate them.

References

1. Souders S. High performance web sites: essential knowledge for front-end engineers. O'Reilly Media Publ., 2007, 170 p.

2. King A.B. Website Optimization: Speed, Search Engine & Conversion Rate Secrets. O'Reilly Media Publ., 2008, 398 p.

3. Kaushik A. Web Analytics 2.0: The Art of Online Accountability and Science of Customer Centricity. Sybex Publ., 2009 (Russ. ed.: Vilyams Publ., 2014, 528 p.).

4. GtMetrix. Available at: https://gtmetrix.com (accessed May 18, 2017).

5. Webpage test. Available at: http://www.webpagetest.org (accessed May 18, 2017).

6. Ultra-tools. Available at: https://www.ultratools.com/ (accessed May 18, 2017).

7. Pingdom. Available at: https://tools.pingdom.com/ (accessed May 18, 2017).

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

8. Google Developer tools in chrome browser (accessed May 18, 2017).

9. Croll A., Power S. Complete web monitoring. O'Reilly Media Publ., 2009, 672 p.

10. Internet growth statistics. Available at: http://www.mter-networldstats.com/emarketing.htm (accessed May 2, 2017).

УДК GG4.56 Дата подачи статьи: 15.06.17

DOI: 1G.15S27/G236-235X.G3G.4.654-657 2017. Т. 30. № 4. С. б54-б57

АНАЛИЗ СОСТОЯНИЯ БЕЗОПАСНОСТИ WEB-САЙТОВ НА ОСНОВЕ МЕТРИК

Д.Т. Дим, аспирант, dim.dike@yahoo.com;

В.Н. Богатиков, д.т.н., профессор, vnbgtk@mail.ru (Тверской государственный технический университет, наб. Аф. Никитина, 22, г. Тверь, 170026, Россия)

Актуальность работы заключается в анализе современных трендов развития web-сайтов и интернет-инфраструктуры, а также в отражении условий для оптимальной работы систем, представляющих информацию, выполняющих функции электронной коммерции и предоставляющих различные виды услуг. В последние два десятилетия общая информация во всемирной паутине WWW и количество пользователей увеличились почти в двести раз. С их ростом требования к технике стали еще критичнее, но оценке с коммерческой точкой зрения уделяется больше внимания, чем с технической.

В работе особое внимание уделяется оценке качества работы web-сайтов с точки зрения информационно-технологических показателей, рассмотрена нечеткая цепь Маркова с выделением конкретных состояний производительности web-сайтов.

Ключевые слова: web-сайт, метрика, характеристики сайта, анализ сайта, цепь Маркова.

Литература

1. Souders S. High performance web sites: essential knowledge for front-end engineers. O'Reilly Media Publ., 2GG7, i7G p.

2. King A.B. Website optimization: speed, search engine & conversion rate secrets. O'Reilly Media Publ., 2GGS, 39S p.

3. Кошик А. Веб-аналитика 2.0 на практике. Тонкости и лучшие методики. М.: Вильямс, 2014. 528 с.

4. GtMetrix. URL: https://gtmetrix.com (дата обращения: 18.05.2017).

5. Webpage test. URL: http://www.webpagetest.org (дата обращения: 18.05.2017).

6. Ultra-tools. URL: https://www.ultratools.com/ (дата обращения: 18.05.2017).

7. Pingdom. URL: https://tools.pingdom.com/ (дата обращения: 18.05.2017).

S. Google Developer tools в браузере Chrome (дата обращения: 18.05.2017).

9. Croll A., Power S. Complete Web Monitoring. 2GG9, б72 p.

iG. Internet growth statistics. URL: http://www.internetworldstats.com/emarketing.htm (дата обращения: 05.02.2017).

Примеры библиографического описания статьи

1. Dim D.T., Bogatikov V.N. Analysis of website security status based on performance metrics // Программные продукты и системы. 2017. Т. 30. № 4. С. 654-657 (англ.). DOI: 10.15827/0236-235X.030.4.654-657.

2. Dim D.T., Bogatikov V.N. Analysis of website security status based on performance metrics. Pro-grammnye produkty i sistemy [Software & Systems]. 2017, vol. 30, no. 4, pp. 654-657. DOI: 10.15827/0236-235X.030.4.654-657.

i Надоели баннеры? Вы всегда можете отключить рекламу.