RUS  ENG
Full version
JOURNALS // News of the Kabardino-Balkarian Scientific Center of the Russian Academy of Sciences // Archive

News of the Kabardino-Balkarian Scientific Center of the Russian Academy of Sciences, 2024 Volume 26, Issue 2, Pages 34–43 (Mi izkab853)

Computer science and information processes

Using hierarchical indexing for access control to shared resources in microservices

V. S. Kirillov

North-Caucasus Federal University, Stavropol

Abstract: This article discusses an innovative algorithm designed for efficient blocking of access to shared resources in microservices. The main feature of this algorithm lies in unifying the processes of resource blocking and operation execution in multithreaded microservices with a hierarchical structure of shared resources. The use of this algorithm significantly simplifies the development of a resource locking system and allows the customization of the level of detail in the blocked resources according to the requirements imposed on the processed microservice messages. One major advantage of the algorithm is the ability to block access to multiple resources without the risk of thread deadlock. This ensures reliability and security in message processing by microservices, especially in cases where simultaneous access to multiple shared resources is required. The research results demonstrate that the proposed algorithm can significantly improve the efficiency of resource locking systems in a microservices architecture, reduce the likelihood of errors, and simplify software development. In the long term, the use of this algorithm can contribute to enhancing the performance and reliability of distributed systems based on microservices.

Keywords: microservices, hierarchies, shared resources

UDC: 004.6

MSC: 68Ò027

Received: 01.03.2024
Revised: 26.03.2024
Accepted: 02.04.2024

DOI: 10.35330/1991-6639-2024-26-2-34-43



Bibliographic databases:


© Steklov Math. Inst. of RAS, 2024