arXiv:2410.19701cs.SEcs.AI2024-10被引 12

用微服务提升机票系统抗故障与扩展能力,实测宕机减少50%。

Enhancing Resilience and Scalability in Travel Booking Systems: A Microservices Approach to Fault Tolerance, Load Balancing, and Service Discovery

  • 采用微服务架构与熔断模式,实现服务独立部署与故障隔离。
  • 系统可用性超99.95%,性能提升35%,支持用户数增加30%。
  • 适合高并发、高可用需求的在线预订系统开发者参考。

本文研究微服务架构在可扩展且可靠的航空公司预订系统开发中的应用。传统预订系统高度集中且僵化,易形成瓶颈和单点故障,难以满足现代航空公司的动态需求。微服务通过服务解耦和独立部署,显著提升弹性与可扩展性。系统采用熔断模式处理外部依赖(如航班接口、支付系统),使故障传播降低60%。流量重定向机制保障了高可用场景下超过99.95%的 uptime。负载均衡采用轮询策略,通过均匀分配请求将性能提升35%。实时健康检查与监控有效前置故障发现,避免用户受影响。结果表明,相比单体架构,该方案使系统可扩展性提升40%,宕机时间减少50%,支持并发用户数增加30%。研究验证了微服务在构建响应迅速、具备容错能力的机票预订系统方面的有效性。

原文摘要 · Abstract (English)

This paper investigates the inclusion of microservices architecture in the development of scalable and reliable airline reservation systems. Most of the traditional reservation systems are very rigid and centralized which makes them prone to bottlenecks and a single point of failure. As such, systems do not meet the requirements of modern airlines which are dynamic. Microservices offer better resiliency and scalability because the services do not depend on one another and can be deployed independently. The approach is grounded on the Circuit Breaker Pattern to maintain fault tolerance while consuming foreign resources such as flight APIs and payment systems. This avoided the failure propagation to the systems by 60% enabling the systems to function under external failures. Traffic rerouting also bolstered this with a guarantee of above 99.95% uptime in systems where high availability was demanded. To address this, load balancing was used, particularly the Round-Robin method which managed to enhance performance by 35% through the equal distribution of user requests among the service instances. Health checks, as well as monitoring in real-time, helped as well with failure management as they helped to contain failures before the users of the system were affected. The results suggest that the use of microservices led to a 40% increase in system scalability, a 50% decrease in downtime and a support for 30% more concurrent users than the use of monolithic architectures. These findings affirm the capability of microservices in the development of robust and flexible airline ticket booking systems that are responsive to change and recover from external system unavailability.

微服务系统可靠性高可用机票预订

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。