Xianyu Technology
Author

Xianyu Technology

Official account of the Xianyu technology team

349
Articles
0
Likes
760
Views
0
Comments
Recent Articles

Latest from Xianyu Technology

100 recent articles max
Xianyu Technology
Xianyu Technology
Jan 12, 2023 · Mobile Development

Layered Performance Testing for Kun (Flutter‑Based) Mobile Container

To ensure Kun’s Flutter‑based container upgrades improve Xianyu’s user experience, we introduced a layered performance testing framework that defines industry‑standard metrics, component‑ and business‑level benchmarks, multi‑dimensional stress and regression checks, automated scripts, expanded device pools, and streamlined task creation, delivering faster insights, higher stability, and actionable optimization feedback.

FlutterKun containerPerformance Testing
0 likes · 11 min read
Layered Performance Testing for Kun (Flutter‑Based) Mobile Container
Xianyu Technology
Xianyu Technology
Jan 10, 2023 · Backend Development

Lightweight State Machine Framework for Order Fulfillment in Xianyu Industry Transactions

The Xianyu team introduced a lightweight, API‑driven state‑machine framework that replaces massive IF‑ELSE order‑fulfillment code with a three‑layer architecture—core topology, glue adapters, and business processors—enabling concise topology definitions, reusable validation/action logic, automatic logging, monitoring, and effortless extension across recycling, consignment, and inspection services.

backend architectureorder fulfillmentscalability
0 likes · 10 min read
Lightweight State Machine Framework for Order Fulfillment in Xianyu Industry Transactions
Xianyu Technology
Xianyu Technology
Jan 3, 2023 · Frontend Development

Using XState for Collaborative Frontend Development and State Management

By adopting the XState state‑machine library, the team transformed a complex, interactive page’s development from costly component‑wise coordination into a collaborative workflow where a small core group maintains a visual state graph while UI developers work on lightweight components, improving performance and reducing render overhead.

ReActState ManagementXState
0 likes · 12 min read
Using XState for Collaborative Frontend Development and State Management
Xianyu Technology
Xianyu Technology
Dec 21, 2022 · Artificial Intelligence

Xianyu Recommendation System: Architecture, Challenges, and Deployment

The Xianyu recommendation system, built by backend expert Wan Xiaoyong, evolved from offline scoring to a full‑graph, serverless recall‑ranking pipeline that tackles C2C uncertainties through centralized feature engineering, model compression, staged deployment, flexible experimentation, robust governance, and plans for automated attribution and interpretability.

AIbig datafeature engineering
0 likes · 10 min read
Xianyu Recommendation System: Architecture, Challenges, and Deployment
Xianyu Technology
Xianyu Technology
Dec 15, 2022 · Fundamentals

How to Build Fair Lottery Systems Using Linear Congruential Generators

This article examines the technical foundations of lottery randomness, explains linear congruential generators and their parameter constraints, discusses implementation pitfalls such as low‑bit bias, and reviews several practical lottery algorithms—including selection, shuffle, reservoir sampling, red‑packet splitting, and probability methods—to achieve fair and scalable interactive draws.

ImplementationJavaLottery
0 likes · 19 min read
How to Build Fair Lottery Systems Using Linear Congruential Generators
Xianyu Technology
Xianyu Technology
Dec 6, 2022 · Mobile Development

iPad Split‑Screen Adaptation and Multi‑Engine Flutter Integration

The article details how Xianyu solved iPad split‑screen challenges by creating a custom UINavigationController subclass to manage dual‑screen price‑comparison and navigation modes, switching to Auto Layout, and implementing a lightweight multi‑engine Flutter architecture that shares isolates and resources while preserving existing navigation logic.

FlutterHybrid AppUI
0 likes · 11 min read
iPad Split‑Screen Adaptation and Multi‑Engine Flutter Integration
Xianyu Technology
Xianyu Technology
Nov 29, 2022 · Backend Development

Lombok @Builder JSON Conflict, Dynamic Log Levels, JWT Overview, and Java 8 parallelStream Tips

The brief explains how Lombok’s @Builder can clash with JSON libraries and how adding no‑args and all‑args constructors resolves it, shows how to adjust log levels at runtime via Arthas or Spring’s LoggingSystem, outlines JWT structure and security cautions, and warns of common Java 8 parallelStream performance and correctness pitfalls.

JSONJWTJava
0 likes · 9 min read
Lombok @Builder JSON Conflict, Dynamic Log Levels, JWT Overview, and Java 8 parallelStream Tips
Xianyu Technology
Xianyu Technology
Oct 27, 2022 · Backend Development

Scalable Discount System Design with Crowd Synchronization

The article proposes a three‑step, crowd‑based discount system that decomposes discount elements, pre‑computes fan group membership in Redis, and combines offline batch with real‑time event synchronization, achieving tens of thousands QPS, millisecond latency, and both eventual and strong data consistency.

Data SynchronizationHigh PerformanceRedis
0 likes · 9 min read
Scalable Discount System Design with Crowd Synchronization