?
О задаче построения децентрализованной интеллектуальной транспортной системы на основе протокола RAFT и кластеризации по сетевому расстоянию
The article is devoted to the development and experimental evaluation of a decentralized architecture for an intelligent transport system (ITS) based on the Raft consensus protocol and the network distance metric (RTT) server clustering method. It is shown that existing solutions either require manual configuration and centralized coordination, or are not optimized for latency with geographical distribution of nodes, which reduces fault tolerance and increases system response time. A dynamic method is proposed. formation of subclusters with automatic selection of leaders, in which each server joins the nearest RTT leader. The re-election of the leader and reconfiguration are performed without the participation of an administrator. A prototype of a microservice system is presented that implements access control with tokens and automatic reconfiguration. Experiments demonstrate an acceleration of server preparation for inclusion in the cluster by 87.5%, a 47.6% reduction in 10 GB of data download time, and a leader switching time of about 730 ms in case of node failure.