%0 Journal Article
%T 基于改进人工鱼群算法的电商平台AR-ASFA分布式系统
AR-ASFA Distributed System for E-Commerce Platform Based on Improved Artificial Fish Swarm Algorithm
%A 杨赫宇
%A 李洪军
%A 范海平
%J Software Engineering and Applications
%P 346-358
%@ 2325-2278
%D 2025
%I Hans Publishing
%R 10.12677/sea.2025.142031
%X 数字化、信息化和互联网的普及催生了电子商务的高速发展。面对急速膨胀的用户访问量,电商平台如何承载更多的用户流量并提高服务器响应性能等技术上仍存在瓶颈。本文从软硬件两方面进行系统优化,构建高性能分布式AR-AFSA系统。(1) AR (Application Router)架构配置三台JobManager服务器节点,分别接收三种方式的用户访问请求,运用流量分配机制分散系统的流量承载压力,并将用户请求按不同访问方式划分为四个流量队列进行调度。(2) 改进的人工鱼群算法(AFSA)进行容器调度,重新规划人工鱼的各行为执行顺序,增加对最优解寻找的可能性并加快局部收敛速度。(3) 设计人工鱼的参数与评价指标,为用户请求匹配足够资源的容器同时保证资源节约和系统负载均衡。最后在淘宝用户行为数据集以及多组对照实验下进行验证,AR系统可承载传统服务器三倍的流量压力。改进的人工鱼群算法相比对照算法可收敛至更优解,并且在服务器资源规模更为复杂的情况下,展示出更大的优势。
The popularization of digitalization, informatization and the Internet has given birth to the rapid development of e-commerce. Faced with rapidly expanding user traffic, e-commerce platforms still face technical bottlenecks in carrying more user traffic and improving server response performance. This article optimizes the system from both software and hardware aspects to build a high-performance distributed AR-AFSA system. (1) The AR (Application Router) architecture is configured with three JobManager server nodes, which receive user access requests in three different ways. The traffic allocation mechanism is used to distribute the system’s traffic carrying pressure, and user requests are divided into four traffic queues for scheduling according to different access methods. (2) Improved artificial fish swarm algorithm (AFSA) is used for container scheduling, re planning the execution order of various behaviors of artificial fish, increasing the possibility of finding the optimal solution and accelerating local convergence speed. (3) Parameters and evaluation indicators for artificial fish are designed to match containers with sufficient resources for user requests while ensuring resource conservation and system load balancing. Finally, validation was conducted on the Taobao user behavior dataset and multiple control experiments, and it was found that the AR system can withstand three times the traffic pressure of traditional servers. The improved artificial fish swarm algorithm can converge to a better solution compared to the control algorithm, and demonstrates greater advantages in situations where server resources are more complex.
%K 分布式系统,
%K 元启发式算法,
%K 电子商务
Distributed Architecture
%K Metaheuristic Algorithm
%K E-Commerce
%U http://www.hanspub.org/journal/PaperInformation.aspx?PaperID=112657