Developing a communication layer between Python and JavaScript
Uloženo v:
| Název: | Developing a communication layer between Python and JavaScript |
|---|---|
| Autoři: | Varnakov, Roman |
| Rok vydání: | 2025 |
| Sbírka: | Theseus.fi (Open Repository of the Universities of Applied Sciences / Ammattikorkeakoulujen julkaisuarkisto) |
| Témata: | IT Engineer, fi=Tieto- ja viestintätekniikka|sv=Informations- och kommunikationsteknik|en=Information and Communications Technology, Python (programming languages), JavaScript, communication, programming, software technology, testing, Bachelor of Engineering, Information Technology |
| Popis: | The study focused on the development of a two-way communication system for Python and JavaScript programming languages in situations where JavaScript runtime responses to requests sent by Python runtime. The objective of the study was to create a socket-based communication module that facilitates interaction between a Python client and a JavaScript client, leveraging Flask as the server framework and SocketIO for communication. The study leveraged various methods to create the system and evaluate it. As a structure, class-based approach was introduced. For serialization, were used JSON, MessagePack and Numpy. Evaluation methods involved simulated request-response scenarios, latency measurements under different payload sizes with a manual logging method. Wireshark was used to capture network traffic and analyze it. As a result, a complete prototype was developed and tested. The system demonstrated reliable performance, even if there were certain improvement considerations, efficient data exchange with a combination of JSON and zstd, and stability under load, confirming its suitability for two-way communication between Python and JavaScript environments. |
| Druh dokumentu: | bachelor thesis |
| Jazyk: | English |
| Relation: | LightningChart Ltd.; https://www.theseus.fi/handle/10024/893276 |
| Dostupnost: | https://www.theseus.fi/handle/10024/893276 |
| Rights: | fi=All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.|sv=All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.|en=All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.| |
| Přístupové číslo: | edsbas.8AD2D3C7 |
| Databáze: | BASE |
Buďte první, kdo okomentuje tento záznam!
Nájsť tento článok vo Web of Science