Cloud Native 8 min read

Evolution of Xianyu Transaction Link Architecture: From Frontend Decoupling to Cloud‑Native Integration

After the Double‑Eleven sales surge, Xianyu transformed its transaction link from a fragmented, frontend‑decoupled design into a unified cloud‑native stack using Dart, Flutter, and FaaS, enabling cross‑platform UI, server‑side glue code, and reducing development effort from three engineers to one while boosting stability and scalability.

Xianyu Technology
Xianyu Technology
Xianyu Technology
Evolution of Xianyu Transaction Link Architecture: From Frontend Decoupling to Cloud‑Native Integration

Following the Double‑Eleven sales peak, Xianyu needed to ensure a stable and high‑performance transaction chain for billions of orders. This article presents a technical case study of the Xianyu transaction link architecture evolution from a client‑development viewpoint.

The link supports multiple business types (C2C, guarantee, virtual‑currency, etc.) and numerous states, requiring both stability and limited dynamic capabilities. Initial efforts focused on decoupling business logic and introducing page block‑level modularization.

Three stages are described:

Stage 1 – Business Decoupling: Backend split into data model, C2X domain, and solution layer; frontend parses data into ViewModel and renders block components.

Stage 2 – Dual‑End Integration & Cloud Migration: Adopted Flutter + FishRedux for cross‑platform UI, introduced a common action center, and began moving business logic to the cloud.

Stage 3 – Cloud‑Native One‑Stop Development: Unified stack using Dart, FaaS (Dart Runtime), and Flutter, allowing frontend engineers to write server‑side glue code, reducing team size and improving efficiency.

The cloud‑native approach separates rendering interfaces from interaction interfaces, enabling dynamic operation configuration and seamless action routing via the Nexus framework. The result is a streamlined development process—e.g., the order page now requires a single developer instead of three—demonstrating significant gains in productivity and scalability.

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.

FaaSFlutterfrontendarchitecturetransactionCloud-native
Xianyu Technology
Written by

Xianyu Technology

Official account of the Xianyu technology team

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.