| Русский Русский | English English |
   
Главная Archive
16 | 04 | 2024
10.14489/vkit.2016.03.pp.038-043

DOI: 10.14489/vkit.2016.03.pp.038-043

Гридин В. Н., Анисимов В. И., Васильев С. А.
МЕТОДЫ ПОВЫШЕНИЯ БЫСТРОДЕЙСТВИЯ ВЕБ-ПРИЛОЖЕНИЙ НА ОСНОВЕ ПРОТОКОЛА WEBSOCKET
(c. 38-43)

Аннотация. Рассмотрены преимущества и недостатки различных методов при построении веб-сервисов для повышения быстродействия приложения, в частности, с использованием асинхронной передачи данных. Показаны преимущества использования полнодуплексного протокола передачи данных WebSocket для построения веб-сервиса применительно к схемотехническому проектированию. Представлена динамически подключаемая библиотека Fleck, а также типы данных, используемые для управления соединениями по протоколу WebSocket. Дано описание примера проектирования серверной составляющей веб-службы с использованием библиотеки Fleck в среде разработки Visual Studio 2012, приведены результаты работы программы. Показан анализ проблемы использования сложных типов данных при условии разработки компонентов веб-сервиса в гетерогенной среде. Предложены методы взаимодействия приложений, имеющих разные структуры сложных типов данных, по протоколу WebSocket.

Ключевые слова:  веб-сервис; схемотехника; программирование; протокол; стандарт 6455; приложение; кросс-платформенность; запрос; данные; архитектура; клиент; сервер; методы; интерпретатор; асинхронность.

 

Gridin V. N., Anisimov V. I., Vasilev S. A.
METHODS TO IMPROVE THE PERFORMANCE OF WEB APPLICATIONS BASED ON PROTOCOL WEBSOCKET
(pp. 38-43)

Abstract. This article describes different approaches to building a client-server applications. Attention is paid to the various advantages and disadvantages of different architectural solutions: transfer of business logic on client side, asynchronous methods to increase data transmission speed of client-server relationship. It is noted that used approaches, such as Ajax, poll / long poll can achieve visible changes in direction of increasing speed, but also have some deficiencies primarily associated with load on server and to become unstable in conditions of additional network infrastructure. There are some basic problem of domain aided circuit design – working with complex data types in conditions of data exchange in heterogeneous environments software, and also problems associated with conventional methods of description Web Services (WSDL-files), in particular insufficient amount of information about service’s interface, that automatically generates by means of development environment. Here we talk about advantages of using a full-duplex communication protocol WebSocket (standard RFC 6455) in terms of application of this type of communication to creation of asynchronous client-server applications, and also benefits about respect to volume of transmitted service information during a request or response between service and server. It’s payed attention to social interaction of applications by means of a communication protocol WebSocket in terms of additional infrastructure of network. It describes the ability to connect third-party libraries to work with WebSocket Protocol (full-duplex communication) among software development providing .NET. There is an example of creating a server component Web Service using the C # programming language in Visual Studio 2012 with using of dynamic link library Fleck. We describe structure of IWebSocketConnection, basic techniques for organization and functioning the communication based at protocol WebSocket. There is also an example of program code for counting frequency characteristics of electrical circuits and the results of its implementation. In the article attention is paid to working with complex data types transmitted over full duplex protocol WebSocket, in conditions of using this protocol in heterogeneous environments of developed software. Also it’s covered standardization algorithms of describing Web services using the protocol WebSocket. There are corresponding examples of sent and received requests for working client-server applications performed in different languages of programming. In conclusion we talk about benefits, that are opening to developer with using of full-duplex communication protocol WebSocket (standard RFC 6455). Also at the deduction the possible difficulties are shown when using of transmission protocol data in a client-server systems.

Keywords: Web-service; Circuit design; Programming; Protocol; Standard 6455; Application; Cross-platform; Request; Data; Architecture; Client; Server; Methods; Interpreter; Asynchrony.

Рус

В. Н. Гридин (Центр информационных технологий в проектировании РАН, Московская обл., Одинцово) E-mail: Этот e-mail адрес защищен от спам-ботов, для его просмотра у Вас должен быть включен Javascript
В. И. Анисимов, С. А. Васильев (Санкт-Петербургский государственный электротехнический университет «ЛЭТИ» им. В. И. Ульянова (Ленина))

 

Eng


V. N. Gridin (Center of Information Technologies in the Design of the RAS, Moscow region, Odintsovo) E-mail: Этот e-mail адрес защищен от спам-ботов, для его просмотра у Вас должен быть включен Javascript
V. I. Anisimov, S. A. Vasilev (Saint-Petersburg Electrotechnical University)

 

Рус

1. Гридин В. Н., Дмитревич Г. Д., Анисимов Д. А. Архитектура распределенных сервис-ориентированных систем автоматизированного проектирования // Изв. ЮФУ. Техн. науки. 2014. № 7. C. 51 – 58.
2. Анисимов В. И., Гридин В. Н., Шабани М. А. Методы построения высокопроизводительных распределенных систем автоматизации схемотехнического проектирования // Информационные технологии. 2014. № 8. C. 59 – 63.
3. Алмаасали С. А., Анисимов В. И. Построение распределенных систем автоматизированного проектирования на основе методов диакоптики // Изв. СПбГЭТУ «ЛЭТИ». 2014. № 1. С. 15 – 19.
4. Федоренков Р. В., Ничушкина Т. Н. Интерактивный веб-сервис WebSocket // Инженерный вестник: электр. научн.-техн. журнал. 2015. № 01. URL: http://engbul.bmstu.ru/ file/762417.html?__s=1 (дата обращения: 10.01.2016).
5. Анисимов В. И., Гридин В. Н., Васильев С. А. Построение веб-приложений на основе полнодуплексного протокола передачи данных WebSocket в сервис-ориентированных системах автоматизации схемотехнического проектирования // Информационные технологии и математическое моделирование систем: тр. Междун. науч.-техн. конф. М., 2015. С. 26 – 28.
6. Statianzo/Fleck [Электронный ресурс] // GitHub, Inc. 2016. URL: https://github.com/statianzo/FLECK (дата обращения: 10.01.2016).
7. Гридин В. Н., Дмитревич Г. Д., Анисимов Д. А. Организация взаимодействия клиентских приложений с веб-сервисами в гетерогенных средах // Информационные технологии и вычислительные системы. 2014. № 4. С. 51 – 57.
8. Гридин В. Н., Анисимов В. И., Алмаасали С. А. Применение метода диакоптики для моделирования и расчета больших систем // Проблемы управления. 2014. № 4. С. 9 – 13.

Eng

1. Gridin V. N., Dmitrevich G. D., Anisimov D. A. (2014). Architecture of distributed service-oriented CAD systems. Izvestiia IuFU. Tekhnicheskie nauki, (7), pp. 51-58.
2. Anisimov V. I., Gridin V. N., Shabani M. A. (2014). Methods of construction of high-performance distributed systems of automation of circuit design. Informatsionnye tekhnologii, (8), pp. 59-63.
3. Almaasali S. A., Anisimov V. I. (2014). Design of distributed CAD systems based on the methods of diakoptics. Izvestiia SPbGETU «LETI», (1), pp. 15-19.
4. Fedorenkov R. V., Nichushkina T. N. (2015). Interactive web service WebSocket. Inzhenernyi vestnik, (1). Available at: http://engbul.bmstu.ru/file/762417.html?__s=1 (Accessed: 10.01.2016).
5. Anisimov V. I., Gridin V. N., Vasil'ev S. A. (2015). Building web applications based on WebSocket full-duplex data transmission protocol in service-oriented automation systems of circuit design. Information technologies and mathematical modeling of the systems: proceedings of the International scientific and technical conference. Moscow, pp. 26-28.
6. Statianzo/Fleck. (2016). GitHub, Inc. Available at: https://github.com/statianzo/FLECK (Accessed: 10.01.2016).
7. Gridin V. N., Dmitrevich G. D., Anisimov D. A. (2014). Organization of interaction of client applications with Web services in heterogeneous environments. Informatsionnye tekhnologii i vychislitel'nye sistemy, (4), pp. 51-57.
8. Gridin V. N., Anisimov V. I., Almaasali S. A. (2014). Application of diakoptics method for modeling and analysis of large systems. Problemy upravleniia, (4), pp. 9-13.

Рус

Статью можно приобрести в электронном виде (PDF формат).

Стоимость статьи 350 руб. (в том числе НДС 18%). После оформления заказа, в течение нескольких дней, на указанный вами e-mail придут счет и квитанция для оплаты в банке.

После поступления денег на счет издательства, вам будет выслан электронный вариант статьи.

Для заказа статьи заполните форму:

{jform=1,doi=10.14489/vkit.2016.03.pp.038-043}

.

Eng

This article  is available in electronic format (PDF).

The cost of a single article is 350 rubles. (including VAT 18%). After you place an order within a few days, you will receive following documents to your specified e-mail: account on payment and receipt to pay in the bank.

After depositing your payment on our bank account we send you file of the article by e-mail.

To order articles please fill out the form below:

{jform=2,doi=10.14489/vkit.2016.03.pp.038-043}

 

 

 

 

 

.

.

 

 

 
Search
Баннер
Баннер
Rambler's Top100 Яндекс цитирования