Design and Evolution of Qunar Order Center: From 1.0 to 3.0
This article presents a comprehensive technical case study of Qunar's Order Center, describing its initial architecture, the challenges faced with scaling and reliability, and the successive redesigns in versions 2.0 and 3.0 that introduced Elasticsearch, asynchronous I/O, micro‑service decomposition, rate‑limiting, and a configurable adapter layer to support massive, multi‑line order processing.
Qunar's Order Center was created to provide a unified order service across many business lines, but rapid growth introduced problems such as fragmented order data, inconsistent formats, and poor user experience.
Version 1.0 offered a generic order query API, JSON‑based merge/diff logic for change detection, and fully asynchronous I/O to avoid blocking when downstream services were slow or unavailable.
Operational challenges—memory‑based filtering, capacity limits, and high‑traffic spikes from scalpers—prompted a redesign.
Version 2.0 introduced Elasticsearch for flexible, multi‑dimensional search, a secondary indexing strategy, and a message‑driven synchronization pipeline that kept MySQL, ES, and HBase consistent while offloading heavy reads.
Version 3.0 further separated storage and indexing, added business isolation and rate‑limiting to protect against abusive traffic, implemented an adapter layer using Groovy scripts for version compatibility, and split core functionalities into micro‑services with a centralized configuration center.
The evolution demonstrates how systematic architectural refactoring, adoption of search technologies, asynchronous processing, and operational safeguards can scale a high‑throughput order system to handle billions of daily requests.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Qunar Tech Salon
Qunar Tech Salon is a learning and exchange platform for Qunar engineers and industry peers. We share cutting-edge technology trends and topics, providing a free platform for mid-to-senior technical professionals to exchange and learn.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
