The present invention relates to the field of
software engineering, and specifically to an experimental implementation method for chaos
engineering application scenarios based on an
ant colony
algorithm; performing structured
processing and
time series modeling on the collected complex
raw data; importing the processed information into the
ant colony
algorithm, determining parameters such as the number of
ant colonies,
pheromone concentration,
evaporation rate, and initializing the
pheromone matrix during initialization, and utilizing resource usage and relevant business information to assist in decision-making. During the execution of the
algorithm, ants select paths based on a probability formula, determine the weights of pheromones and
heuristic indicators based on the fault history and business information, and adjust the
pheromone matrix according to the volatilization, addition, and update rules after traversal, and repeat until the conditions are met. The algorithm outputs an
adjacency matrix containing pheromone, node, and edge information, which is used to analyze fault paths, impacts, propagation, and generate visual charts. This method can improve experimental efficiency, accuracy, and dynamic adaptability, and enhance
system reliability and resilience.