2025-05-31
Abstract: The project presents a high performance online flash order (Seckill) system – OrderFusion. It is built with intelligent design, queuing and caching techniques. The test result shows the solution of Queue + Cache outperformed the tradition MySQL solution, especially under high concurrency situation. The project is through 7 mouths, with the best final result of 77% decrease in delay of access, 3 times throughput and 99% decrease in denial of service incidents, comparing with tradition solution.
Keywords: Seckill, Springboot, Redis, High-Performance, Online Order System
With the popularity of online Seckill campaigns, order platforms are under tremendous operational pressure. The full solution, named with OrderFusion, is targeted to solve this problem.
OrderFusion aims to work as a high performance/ concurrency online Seckill ordering system with Ultra high availability, which leverages strategies along with intelligent design, queuing, caching mechanisms and advanced security measures. Additionally, the system contains a lot of add on solution, like Chatbot powered by GPT4, automated workflows, blockchain logging function and single point authentication (SSO).
The key challenges involve processing heavy traffic loads effectively, handling inventory discrepancies, resolving order processing issues during peak periods, and preventing performance declines ensuring security and reliability.
In the evaluating with Apache JMeter, the result shows the solution of Queue + Cache outperformed the tradition
MySQL solution, especially under high concurrency situation.
The core of OrderFusion revolves around Seckill Component, which represents high concurrency. This module follows on first-come-first-serve basis, where users join Seckill events and are put into waiting lists.
The system uses RabbitMQ, an open-source message broker, to manage the high volume of Seckill requests by queuing them for asynchronous handling.
Redis plays a role in caching data such, as Seckill outcomes and event specifics, which helps reduce server load and ensures rapid data retrieval. The Seckill process comprises user involvement tracking, inventory validation and updating, database transactions and user input. Notable features include inventory monitoring and locking mechanisms.
Figure: Entire process of Seckill in OrderFusion
The report evaluates the performance of the OrderFusion system using traditional MySQL and Queue + Cache architectures. Apache JMeter was used for stress testing, providing various result views.
Throughput, measured as requests processed per unit time, was tested under different concurrent client thread scenarios. The Queue + Cache approach consistently outperformed MySQL, especially when concurrent threads exceeded 500. However, throughput initially decreased with an increase in threads, then increased before decreasing again due to limitations in Redis Cache Pool, RabbitMQ Queue, and Docker container specifications. As concurrent threads increased beyond a certain point, the Queue + Cache's parallel processing capabilities led to a rise in throughput.
Figure: Throughput Testing Result
The Queue + Cache approach also showed better service guarantees in high concurrency scenarios, making it suitable for high-performance online systems like OrderFusion.
IV.CONCLUSION
The OrderFusion project, a seven-month software engineering endeavor, successfully incorporated advanced technologies like Redis, JWT, and RabbitMQ queues, achieving enhanced performance and security. It significantly improved system efficiency with a 77% reduction in access latency, a threefold increase in throughput, and a 99% reduction in denial of service.
This accomplishment illustrates the importance of strategic planning, innovation, and diligent execution in software development, providing insights for future projects.
The main task of this project is the development work. For the developers, it was
Figure: OrderFusion Technology Ecology
Named OrderFusion, the solution integrates cutting-edge technologies and patterns from the online ordering industry, such as Redis, JWT, RabbitMQ queues, and more, like Figure 2. The public service is available now, for public evaluation, at https://orderfusion.hirsun.tech.
Figure: OrderFusion UI Design
EDPS Systems Limited EDPS 電腦系統有限公司 EA Licence No. 78592
© Copyright of EDPS Systems Limited 2025. All Rights Reserved.