增强旅行预订系统的韧性与可扩展性:一种面向容错、负载均衡与服务发现的微服务方法
Enhancing Resilience and Scalability in Travel Booking Systems: A Microservices Approach to Fault Tolerance, Load Balancing, and Service Discovery
AI总结:
本文提出基于断路器、轮询负载均衡、健康检查与实时监控的微服务航空订票架构,显著提升容错、可用性、可扩展性和并发承载能力。
摘要:
本文研究了在可扩展且可靠的航空订票系统开发中引入微服务架构。大多数传统预订系统非常僵化且集中化,这使其容易出现瓶颈和单点故障。因此,这些系统无法满足现代航空公司的动态需求。微服务可提供更好的韧性和可扩展性,因为各项服务互不依赖,并且可以独立部署。该方法以 Circuit Breaker Pattern(断路器模式)为基础,在调用 flight APIs(航班 API)和支付系统等外部资源时维持容错能力。这使故障向系统内的传播减少了 60%,使系统能够在外部故障下继续运行。流量重路由也对此提供了支持,并在要求高可用性的系统中保证了 99.95% 以上的正常运行时间。为解决这一问题,系统采用了负载均衡,特别是 Round-Robin(轮询)方法;该方法通过在各服务实例之间平均分配用户请求,使性能提升了 35%。健康检查以及实时监控也有助于故障管理,因为它们能够在系统用户受到影响之前控制故障。结果表明,与使用单体架构相比,使用微服务使系统可扩展性提高了 40%,停机时间减少了 50%,并支持多 30% 的并发用户。这些发现证实,微服务能够用于开发健壮、灵活且能够响应变化并从外部系统不可用中恢复的航空机票预订系统。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。