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.
翻译:本文提出了一种微服务架构,旨在提升航空预订系统的灵活性与性能。该架构设计整合了Redis缓存技术、两种不同的消息系统(Kafka与RabbitMQ)以及两类存储(MongoDB与PostgreSQL)。同时引入了授权技术,包括通过OAuth2与JWT实现的安全通信,这对于高需求旅行服务的管理至关重要。根据选定指标,该架构实现了99.5%的数据一致性,数据传播延迟低于75毫秒,确保了微服务间快速可靠的交互。系统吞吐量达到每秒1050个事件,即使在高峰时段也能维持可接受的服务水平。Redis缓存实现了92%的缓存命中率,从而降低了数据库负载并提升了响应速度。通过采用Docker与Kubernetes进一步提升了系统的可扩展性,使服务能够水平扩展以应对需求变化。系统错误率低至0.2%,进一步增强了实时数据处理的效率。该方案旨在满足航空预订系统的特定需求,具备安全、快速、可扩展等特性,有助于提升用户体验与运营效率。低延迟、高数据集成度以及高效的资源利用,证明了该架构能够在持续增长的高需求场景下提供稳定支持。