Abstract
This paper introduces a microservices architecture for the purpose of enhancing the flexibility and performance of an airline reservation system. The architectural design incorporates Redis cache technologies, two different messaging systems (Kafka and RabbitMQ), two types of storages (MongoDB, and PostgreSQL). It also introduces authorization techniques, including secure communication through OAuth2 and JWT which is essential with the management of high-demand travel services. According to selected indicators, the architecture provides an impressive level of data consistency at 99.5% and a latency of data propagation of less than 75 ms allowing rapid and reliable intercommunication between microservices. A system throughput of 1050 events per second was achieved so that the acceptability level was maintained even during peak time. Redis caching reduced a 92% cache hit ratio on the database thereby lowering the burden on the database and increasing the speed of response. Further improvement of the systems scalability was done through the use of Docker and Kubernetes which enabled services to be expanded horizontally to cope with the changes in demand. The error rates were very low, at 0.2% further enhancing the efficiency of the system in handling real-time data integration. This approach is suggested to meet the specific needs of the airline reservation system. It is secure, fast, scalable, all serving to improve the user experience as well as the efficiency of operations. The low latency and high data integration levels and prevaiing efficient usage of the resources demonstrates the architecture ability to offer continued support in the ever growing high demand situations.
Abstract (translated)
本文介绍了一种微服务架构,旨在提升航空预订系统的灵活性和性能。该架构设计集成了Redis缓存技术、两种不同的消息系统(Kafka和RabbitMQ)、两种存储类型(MongoDB和PostgreSQL)。此外还介绍了授权技术,包括通过OAuth2和JWT实现的安全通信,这对于管理高需求的旅行服务至关重要。根据选定的指标,该架构提供了高达99.5%的数据一致性水平,并且数据传播延迟小于75毫秒,从而实现了微服务之间的快速可靠交互。系统吞吐量达到了每秒1050个事件,即使在高峰时段也维持了良好的接受度。Redis缓存将数据库的命中率降低了92%,从而减轻了数据库负担并提高了响应速度。通过使用Docker和Kubernetes进一步提升了系统的可扩展性,使服务能够水平扩展以应对需求变化。错误率非常低,仅为0.2%,进一步增强了系统处理实时数据集成的效率。这种方法建议用于满足航空预订系统的特定需求。它是安全、快速且具有高扩展性的,所有这些都旨在提升用户体验和运营效率。较低的延迟和较高的数据集成水平以及高效利用资源展示了该架构在应对不断增长的高需求情况时提供的持续支持能力。
URL
https://arxiv.org/abs/2410.24174