Usage of Telegram Bots for message exchange in distributed computing

P. Domashnev, V. Alexeev, T. Lavrukhina, O. Nazarkin

Abstract


In this paper, we consider the scheme of unidirectional and bidirectional messaging built over the popular Telegram service. The main purpose of our approach is to provide free real-time message exchange solution for inter-node communications in browser-based volunteer grid computing. Telegram Bot API provides reliable serverless implementation of messaging infrastructure, with support of browser JavaScript clients. The key feature of proposed scheme is that no application server is needed at all, so the solution is suitable for decentralized distributed algorithms, where interacting nodes (both compute and control) run in browser sessions. Bot is a special account managed by a user program that is designed to receive messages, analyze them and generate new messages. Despite the Telegram documentation statement that bots (as automatically running self-controlled routines) are not allowed to exchange messages with each other, the actual data transfer between bot contexts can be implemented through Telegram channels. We propose application level peer-to-peer duplex communications, along with simplex data channels for unidirectional messages dispatched from initiative sources to known remote processors, or “data sinks”.


Full Text:

PDF (Russian)

References


Alexeev V.A., Domashnev P.A., Lavrukhina T.V., Nazarkin O.A. Sxema gorizontal`nogo masshtabirovaniya veb-servisov na osnove protokola WebSocket // Sistemy` upravleniya i informacionny`e texnologii №3(73), s. 52-55.

Lavrukhina T.V., Nazarkin O.A., Alexeev V.A., Domashnev P.A. Osobennosti ispol`zovaniya raspredelenny`x vy`chislenij pri modelirovanii transportny`x processov // V sbornike: Infokommunikacionny`e i intellektual`ny`e texnologii na transporte. Materialy` I mezhdunarodnoj nauchno-prakticheskoj konferencii. – Izdatel`stvo Lipeczkogo gosudarstvennogo texnicheskogo universiteta, 2018. – V 2 t. T. 2. – S. 211-215.

Nazarkin O.A. Raspredelennaya dinamicheskaya sreda obrabotki danny`x na osnove oblachny`x servisov Google Firebase // Materialy` XII mezhdunarodnoj nauchno-prakticheskoj konferencii "Sovremenny`e slozhny`e sistemy` upravleniya (HTCS’2017)". – Izdatel`stvo Lipeczkogo gosudarstvennogo texnicheskogo universiteta, 2017. – V 2 t. T. 2. – S. 55-59.

Nazarkin O.A., Lavrukhina T.V., Alexeev V.A., Domashnev P.A. Ispol`zovanie oblachnogo servisa Firebase Cloud Messaging dlya obmena soobshheniyami v krupnomasshtabny`x raspredelenny`x vy`chislitel`ny`x sistemax // Vesti vy`sshix uchebny`x zavedenij Chernozem`ya. 2018. № 3 (53). S. 46-58.

Redis Labs – Database for the Instant Experience. https://redislabs.com/

Telegram F.A.Q. https://telegram.org/faq/

Telegram Bot API. https://core.telegram.org/bots/api/


Refbacks

  • There are currently no refbacks.


Abava  Кибербезопасность MoNeTec 2024

ISSN: 2307-8162