Practical Lessons from Upgrading JD's Phone Recharge System Architecture

This article shares JD's practical experience of scaling its phone‑recharge platform by introducing caching, concurrent processing, micro‑service decomposition, vertical‑and‑horizontal sharding, read/write separation, resource isolation, and gray‑release deployment to meet rapidly growing user demand.

JD Retail Technology
JD Retail Technology
JD Retail Technology
Practical Lessons from Upgrading JD's Phone Recharge System Architecture

JD's phone‑recharge service saw a 40% increase in active users, driving a surge in order volume that exceeded the capacity of its legacy architecture, prompting a comprehensive system upgrade.

Application‑layer improvements : a Redis‑based cache (JimDB) was added for hot data such as feature flags and white‑lists, reducing database load; concurrent processing programs were written to parallelize independent tasks like order settlement; and the overall system structure was refactored to improve cohesion and reduce coupling.

Micro‑service transformation : the monolithic application was split into five services (PC order, mobile order, MQ processor, admin console, worker). Each service communicates via JD's RPC framework (JSF) and message framework (JMQ), enabling independent development, testing, and deployment while maintaining overall functionality.

Database‑layer strategies : a vertical‑plus‑horizontal sharding scheme separates enterprise and consumer orders, using hash‑based routing on account PIN or order ID; read‑write separation directs low‑latency reads to replicas; low‑frequency pages are statically generated and served via Nginx; and data aggregation is handled by syncing shards to Elasticsearch.

Deployment and operations : resource isolation is achieved with Hystrix for semaphore and thread‑pool isolation, independent containers, and multi‑datacenter traffic distribution; gray‑release and version‑rollback mechanisms use data‑flow switches and cache flags to ensure seamless upgrades without user impact.

After these upgrades, the system achieved optimal throughput and stability, successfully handling peak traffic during major sales events such as 618 and Double‑11.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

System ArchitectureMicroservicesScalabilityDeploymentcaching
JD Retail Technology
Written by

JD Retail Technology

Official platform of JD Retail Technology, delivering insightful R&D news and a deep look into the lives and work of technologists.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.