Skip to main content
QUICK REVIEW

[论文解读] Enhancing Resilience and Scalability in Travel Booking Systems: A Microservices Approach to Fault Tolerance, Load Balancing, and Service Discovery

Biman Barua, M. Shamim Kaiser|arXiv (Cornell University)|Oct 25, 2024
Software System Performance and ReliabilityComputer Science被引用 3
一句话总结

本文提出了一种基于微服务的航空预订系统架构,以提升弹性与可扩展性,利用熔断器模式实现容错,采用轮询负载均衡提升性能,并通过实时健康监控实现故障隔离。该方法使可扩展性提升40%,停机时间减少50%,并发用户数支持能力提升30%,相比单体系统表现更优。

ABSTRACT

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.

研究动机与目标

  • 解决单体、集中式航空预订系统存在的单点故障和可扩展性差等问题。
  • 通过服务解耦和独立部署,实现故障隔离,提升系统弹性。
  • 通过有效的负载均衡和实时健康监控,提升系统可用性和性能。
  • 评估微服务在动态旅行预订环境中对容错能力、可扩展性和并发用户支持能力的影响。
  • 展示熔断器模式在外部系统故障期间防止故障传播的有效性。

提出的方法

  • 采用微服务架构,将预订系统分解为松散耦合、可独立部署的服务。
  • 实施熔断器模式,防止与外部系统(如航班和支付API)集成时引发级联故障。
  • 应用轮询负载均衡,将用户请求均匀分发到服务实例,提升性能。
  • 集成实时健康检查与监控,提前检测并隔离故障组件,避免影响终端用户。
  • 使用服务发现机制,在分布式环境中动态管理服务位置与可用性。
  • 通过高负载压力测试和模拟外部故障,评估系统性能与弹性。

实验结果

研究问题

  • RQ1与单体设计相比,微服务架构在旅行预订系统中如何提升容错能力?
  • RQ2在高并发预订场景下,负载均衡在多大程度上提升了系统性能与可扩展性?
  • RQ3在第三方服务中断期间,熔断器模式在多大程度上有效遏制了故障传播?
  • RQ4实时健康监控对系统可用性及故障恢复时间有何影响?
  • RQ5与单体系统相比,微服务在多大程度上支持更高的并发用户负载?

主要发现

  • 与单体架构相比,微服务方法使系统可扩展性提升了40%。
  • 由于改进的故障隔离与弹性机制,停机时间减少了50%。
  • 系统支持的并发用户数比单体系统多30%,证明了更强的水平扩展能力。
  • 熔断器模式将故障传播减少了60%,显著提升了外部API故障期间的系统稳定性。
  • 采用轮询方法的负载均衡通过请求的均匀分布,使系统性能提升了35%。
  • 系统实现了超过99.95%的可用性,通过流量重定向与主动故障遏制,满足了高可用性要求。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。