Backend Development 10 min read

Doraemon Marketing Activity Platform: Architecture, Challenges, and Solutions

The Doraemon Marketing Activity Platform centralizes Xianyu’s user‑rights campaigns—red packets, coupons, vouchers—by providing a three‑layer architecture, reusable components, operator‑friendly configuration, rapid issue detection, and robust security, enabling non‑technical staff to launch, monitor, and reconcile activities efficiently while handling traffic spikes and fraud.

Xianyu Technology
Xianyu Technology
Xianyu Technology
Doraemon Marketing Activity Platform: Architecture, Challenges, and Solutions

The article introduces the Doraemon platform built for Xianyu to centralize and streamline user‑rights marketing activities such as red packets, coupons, and vouchers. It explains the background of fragmented, low‑frequency, manual campaigns and the need for a reusable, configurable solution.

Key pain points are identified for development (long cycles, difficulty locating bugs), operations (complex configuration, high communication cost, delayed effect monitoring), and testing (high cost, long feedback loops). Based on these, three primary goals are set: reusable capabilities, operator‑friendly configuration, and rapid issue detection.

The platform’s architecture is divided into three layers: an external‑dependency layer (task, crowd, behavior, recommendation, reconciliation, and notification systems), a core system layer (encapsulating activity concepts, logging, monitoring, reconciliation, and reporting), and a business layer (frontend components offering various game‑style activities).

The operation configuration portal enables non‑technical staff to launch activities by defining rules and rights per user segment (e.g., gender). Decision logic can be weight‑based or algorithmic to maximize rights efficiency.

For development, the platform addresses traffic spikes, illegal traffic, and security concerns through DDoS/CC protection, rate limiting, RMB anti‑fraud checks, distributed locks, and activity‑code verification. Real‑time and offline reconciliation ensure data consistency.

Testing tools provide fast user‑profile generation via whitelist mechanisms and detailed logging via Spring AOP. Two logging strategies—coarse for production users and fine‑grained for test users—balance observability and performance.

Finally, the article showcases several activity types realized on Doraemon and outlines future plans to decouple the platform’s capabilities for broader reuse.

System Architecturesecurityactivity managementmarketing platformtesting tools
Xianyu Technology
Written by

Xianyu Technology

Official account of the Xianyu technology team

0 followers
Reader feedback

How this landed with the community

login 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.