Designing the architecture of the client-server interaction protocol for web applications based on websocket
The subject of the research is the design of the architecture of the client-server protocol for web applications based on the WebSocket technology. The object of the study is the mechanisms for bidirectional real-time data exchange and existing solutions based on HTTP/HTTPS, SSE, SignalR, gRPC-Web,...
Saved in:
Published in | Программные системы и вычислительные методы no. 3; pp. 20 - 30 |
---|---|
Main Author | |
Format | Journal Article |
Language | English |
Published |
01.03.2025
|
Online Access | Get full text |
ISSN | 2454-0714 2454-0714 |
DOI | 10.7256/2454-0714.2025.3.75392 |
Cover
Abstract | The subject of the research is the design of the architecture of the client-server protocol for web applications based on the WebSocket technology. The object of the study is the mechanisms for bidirectional real-time data exchange and existing solutions based on HTTP/HTTPS, SSE, SignalR, gRPC-Web, Socket.IO, and WS. The author examines in detail aspects of the topic such as formalization and unification of the logical channel structures, message routing, connection activity monitoring, and automatic session recovery. Special attention is given to analyzing the advantages and limitations of each approach to develop requirements for a new protocol architecture. The work includes a comparative analysis of existing libraries and technologies, which helped identify key parameters for effective, scalable, and fault-tolerant implementation of bidirectional interaction. The design method used is the MVCS (Model-View-Controller-Service) pattern, supplemented by the modular organization of the SingleSocket library and an analytical comparison of existing technological solutions in client-server interaction. The main conclusions of the conducted research are the development and implementation of a protocol architecture that provides a balanced and technically justified approach to bidirectional real-time data exchange. A significant contribution of the author to the research topic is the formalization of the declarative structure of channels tied to controllers, the implementation of a configurable connection activity monitoring mechanism on the server with automatic termination of inactive sessions, and the built-in logic for connection recovery on the client. The novelty of the research lies in the application of the MVCS architectural model to enhance structuring, the use of a universal JSON format with channel routing, and the modular implementation of components for reuse and simplified integration. The proposed architecture serves as a solid foundation for creating scalable, reliable, and flexible modern information systems. |
---|---|
AbstractList | The subject of the research is the design of the architecture of the client-server protocol for web applications based on the WebSocket technology. The object of the study is the mechanisms for bidirectional real-time data exchange and existing solutions based on HTTP/HTTPS, SSE, SignalR, gRPC-Web, Socket.IO, and WS. The author examines in detail aspects of the topic such as formalization and unification of the logical channel structures, message routing, connection activity monitoring, and automatic session recovery. Special attention is given to analyzing the advantages and limitations of each approach to develop requirements for a new protocol architecture. The work includes a comparative analysis of existing libraries and technologies, which helped identify key parameters for effective, scalable, and fault-tolerant implementation of bidirectional interaction. The design method used is the MVCS (Model-View-Controller-Service) pattern, supplemented by the modular organization of the SingleSocket library and an analytical comparison of existing technological solutions in client-server interaction. The main conclusions of the conducted research are the development and implementation of a protocol architecture that provides a balanced and technically justified approach to bidirectional real-time data exchange. A significant contribution of the author to the research topic is the formalization of the declarative structure of channels tied to controllers, the implementation of a configurable connection activity monitoring mechanism on the server with automatic termination of inactive sessions, and the built-in logic for connection recovery on the client. The novelty of the research lies in the application of the MVCS architectural model to enhance structuring, the use of a universal JSON format with channel routing, and the modular implementation of components for reuse and simplified integration. The proposed architecture serves as a solid foundation for creating scalable, reliable, and flexible modern information systems. |
Author | Fedulov, Aleksei Alekseevich |
Author_xml | – sequence: 1 givenname: Aleksei Alekseevich orcidid: 0009-0003-8082-4316 surname: Fedulov fullname: Fedulov, Aleksei Alekseevich |
BookMark | eNpNkM1KAzEUhYNUsNa-guQFZszvpFlK_YWCm-5DJr1pg2MyJFHx7e1UEVf3cL_DWXyXaBZTBISuKWkVk90NE1I0RFHRMsJky1sluWZnaP4HZv_yBVqWEnoihJKKdHqOhjsoYR9D3ON6AGyzO4QKrr5nwMmffm4IEGtTIH9AxiFWyNbVkCIec6rJpQH7lPEn9NiO4xCcnWDBvS2ww8fakZTkXqFeoXNvhwLL37tA24f77fqp2bw8Pq9vN43TkjWCWO-BA0gQO-gdl7TTzHvdAxVWM0a1FloxpX0HgjGm6U713FtYcb2SHV-g7mfW5VRKBm_GHN5s_jKUmMmamYSYSYiZrBluTtb4N7HPZBE |
Cites_doi | 10.1016/j.sciaf.2024.e02527 10.7256/2454-0714.2024.1.70173 10.1007/978-3-031-44084-7_13 10.1145/3442381.3450063 10.2478/fcds-2023-0003 10.33899/csmj.2022.174411 |
ContentType | Journal Article |
DBID | AAYXX CITATION |
DOI | 10.7256/2454-0714.2025.3.75392 |
DatabaseName | CrossRef |
DatabaseTitle | CrossRef |
DatabaseTitleList | CrossRef |
DeliveryMethod | fulltext_linktorsrc |
EISSN | 2454-0714 |
EndPage | 30 |
ExternalDocumentID | 10_7256_2454_0714_2025_3_75392 |
GroupedDBID | AAYXX ALMA_UNASSIGNED_HOLDINGS CITATION M~E |
ID | FETCH-LOGICAL-c952-40affe3ee5e4debc351692ff9be14a922199497279f6e422291d7b3fae8398563 |
ISSN | 2454-0714 |
IngestDate | Thu Aug 14 00:14:10 EDT 2025 |
IsDoiOpenAccess | false |
IsOpenAccess | true |
IsPeerReviewed | false |
IsScholarly | false |
Issue | 3 |
Language | English |
LinkModel | OpenURL |
MergedId | FETCHMERGED-LOGICAL-c952-40affe3ee5e4debc351692ff9be14a922199497279f6e422291d7b3fae8398563 |
ORCID | 0009-0003-8082-4316 |
OpenAccessLink | https://doi.org/10.7256/2454-0714.2025.3.75392 |
PageCount | 11 |
ParticipantIDs | crossref_primary_10_7256_2454_0714_2025_3_75392 |
PublicationCentury | 2000 |
PublicationDate | 2025-3-00 |
PublicationDateYYYYMMDD | 2025-03-01 |
PublicationDate_xml | – month: 03 year: 2025 text: 2025-3-00 |
PublicationDecade | 2020 |
PublicationTitle | Программные системы и вычислительные методы |
PublicationYear | 2025 |
References | ref8 ref7 ref9 ref4 ref3 ref6 ref5 ref10 ref2 ref1 |
References_xml | – ident: ref3 – ident: ref5 doi: 10.1016/j.sciaf.2024.e02527 – ident: ref6 – ident: ref9 – ident: ref8 doi: 10.7256/2454-0714.2024.1.70173 – ident: ref1 doi: 10.1007/978-3-031-44084-7_13 – ident: ref2 doi: 10.1145/3442381.3450063 – ident: ref4 doi: 10.2478/fcds-2023-0003 – ident: ref7 doi: 10.33899/csmj.2022.174411 – ident: ref10 |
SSID | ssib044757069 |
Score | 1.9054335 |
Snippet | The subject of the research is the design of the architecture of the client-server protocol for web applications based on the WebSocket technology. The object... |
SourceID | crossref |
SourceType | Index Database |
StartPage | 20 |
Title | Designing the architecture of the client-server interaction protocol for web applications based on websocket |
hasFullText | 1 |
inHoldings | 1 |
isFullTextHit | |
isPrint | |
journalDatabaseRights | – providerCode: PRVHPJ databaseName: ROAD: Directory of Open Access Scholarly Resources customDbUrl: eissn: 2454-0714 dateEnd: 99991231 omitProxy: true ssIdentifier: ssib044757069 issn: 2454-0714 databaseCode: M~E dateStart: 20170101 isFulltext: true titleUrlDefault: https://road.issn.org providerName: ISSN International Centre |
link | http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwnV1LT-MwELZ4XPayWgRoWXZXPtBTlTZxbCc5bmkrhASnInGLktiWEFWLSsthD_vbd8ZOUgdVCLhMHD_GbueLPfZ4bEIuECmKVfAhSZjp8DSSQQFacsCrLBWJKgpmL4O5uZVXd_z6Xtzv7Qtv19JmXQ6qvzv9Sj4jVYgDuaKX7Ack2zKFCAiDfIGChIG-S8Zju_2icXjq2ARq0381R3_HAJde9cqeDbGqLwfHAxqWgAK7zxAdFn1Tdh8HN4WGBEgB-T3qzhJ-bxz2smlvHOE-CQiPJpbGXoyjlx4d29SRDYu-fYnsS9qEgTKX3BTDAn2XyT1YwwRo0i0N4ZEX43Ny-Xc3o22f8Iq538Nd1q22rDbz5UvtFvT4rB_qJ-gW9XpgvXzCxHb_mOtlGRfcenG5AXFH3IO_buB6-dDTF5xZ6fVIlIAqic42DacB1j2IBzA7dHf_dY_-fjUktxslYYqGnHLkkyOfHPnkcW757JNDlkiJF3fc_Js03Sge4ZiE9jLHtnrnG4-shrub5Kllnn41-0a-1hMj-seh_Ijs6cUxmbcIp4Bm6iOcLo2N6yCceginDcIpIJwCjqmPcGoRTiFbi_ATMptOZpdXQX0_SFBlAjqWsDBGx1oLzZUuqxhNvsyYrNQRLzLG8NjrDPTzzEiNK51ZpJIyNoWGSUEqZHxKDhbLhf5OaAEjkxYyUTIsuYrDEuY1IVRiDFOJ4OUZGTb_Tv7kToHJ3xbNjw-XOCdftvj8SQ7Wq43-BQrvuvxtxfsfzfKHMA |
linkProvider | ISSN International Centre |
openUrl | ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=Designing+the+architecture+of+the+client-server+interaction+protocol+for+web+applications+based+on+websocket&rft.jtitle=%D0%9F%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%BD%D1%8B%D0%B5+%D1%81%D0%B8%D1%81%D1%82%D0%B5%D0%BC%D1%8B+%D0%B8+%D0%B2%D1%8B%D1%87%D0%B8%D1%81%D0%BB%D0%B8%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D1%8B%D0%B5+%D0%BC%D0%B5%D1%82%D0%BE%D0%B4%D1%8B&rft.au=Fedulov%2C+Aleksei+Alekseevich&rft.date=2025-03-01&rft.issn=2454-0714&rft.eissn=2454-0714&rft.issue=3&rft.spage=20&rft.epage=30&rft_id=info:doi/10.7256%2F2454-0714.2025.3.75392&rft.externalDBID=n%2Fa&rft.externalDocID=10_7256_2454_0714_2025_3_75392 |
thumbnail_l | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/lc.gif&issn=2454-0714&client=summon |
thumbnail_m | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/mc.gif&issn=2454-0714&client=summon |
thumbnail_s | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/sc.gif&issn=2454-0714&client=summon |