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
Mar 31, 2023 · Mobile Development

Flutter: Mocking MethodChannel for Unit Tests, Retrieving Keyboard Height, and Quick Guide Bubbles

This guide explains how to mock Flutter MethodChannels for unit testing using TestDefaultBinaryMessenger, capture the maximum keyboard height across iOS and Android by tracking viewInsets in didChangeMetrics, and quickly create new‑user guide bubbles with OverlayEntry by calculating a target widget’s rectangle and inserting a positioned overlay.

FlutterGuide BubbleKeyboard Height
0 likes · 9 min read
Flutter: Mocking MethodChannel for Unit Tests, Retrieving Keyboard Height, and Quick Guide Bubbles
Xianyu Technology
Xianyu Technology
Mar 22, 2023 · Frontend Development

TypeScript Mapping Types, Custom Lighthouse Audits, and React Portal Tips

This newsletter issue teaches frontend developers how to simplify TypeScript typings with mapped and index types, extend Chrome Lighthouse by adding custom gatherers and audits for static resources, and effectively use React portals for modals and other UI elements while handling events and styling correctly.

LighthousePortalTypeScript
0 likes · 11 min read
TypeScript Mapping Types, Custom Lighthouse Audits, and React Portal Tips
Xianyu Technology
Xianyu Technology
Mar 8, 2023 · Mobile Development

Systematic CI Capability Construction for Xianyu Mobile Development

By systematically building a macOS‑enabled Jenkins cluster, integrating Flutter UI automation, FeiFish CLI triggers, and mandatory CI‑gated code reviews, Xianyu transformed its expanding mobile team’s workflow, achieving over 80% test coverage, rapid null‑safety migration, and turning continuous integration into a core efficiency driver.

CIFlutterTesting
0 likes · 17 min read
Systematic CI Capability Construction for Xianyu Mobile Development
Xianyu Technology
Xianyu Technology
Mar 1, 2023 · Mobile Development

Flutter Performance Tips: Quick Identification and Raster Cache Optimization

By using a quick identification tip and a unified smoothness metric, developers can see that Flutter often out‑performs native pages on high‑refresh iOS devices and, on Android, can be measured across devices, while optimizing rasterCache hit rates—through flags like will_change, is_complex, complexity_score, visibility rules, and limiting cached items to three per frame—significantly improves rendering performance.

FlutterPerformancefps
0 likes · 6 min read
Flutter Performance Tips: Quick Identification and Raster Cache Optimization
Xianyu Technology
Xianyu Technology
Feb 22, 2023 · Artificial Intelligence

Integrating Retrieval and Generation Tasks for Deep Semantic Matching in Xianyu Search

The paper introduces SimBert, a later‑fusion model that jointly trains a dual‑tower retrieval component and an auxiliary generation task on the item tower, using a two‑stage pre‑training and fine‑tuning pipeline, which yields a 3.6% relevance boost and reduces bad‑case rates in Xianyu search.

BERTSearch Relevancemulti-task training
0 likes · 8 min read
Integrating Retrieval and Generation Tasks for Deep Semantic Matching in Xianyu Search
Xianyu Technology
Xianyu Technology
Feb 16, 2023 · Operations

Stability Governance of Xianyu Messaging System

Since launching a systematic stability‑governance program in August 2022, Xianyu’s messaging system has employed gray releases, dedicated monitoring, daily automated regression, dependency reviews and drills, resulting in near‑zero online incidents within six months and demonstrating that continuous, context‑specific measures and vigilant change management are essential for reliable C2C transactions.

MessagingMonitoringautomation
0 likes · 7 min read
Stability Governance of Xianyu Messaging System
Xianyu Technology
Xianyu Technology
Feb 14, 2023 · Frontend Development

How FishUI Achieves Seamless Cross‑Platform UI Development for Xianyu

FishUI is a cross‑platform React component library designed for Xianyu’s kun and web containers, offering unified APIs, automated environment detection, monorepo architecture with pnpm, lerna + nx versioning, custom build loaders, comprehensive testing, and documentation tooling to boost developer efficiency and maintainability.

Component LibraryCross-PlatformMonorepo
0 likes · 15 min read
How FishUI Achieves Seamless Cross‑Platform UI Development for Xianyu
Xianyu Technology
Xianyu Technology
Feb 8, 2023 · Backend Development

Task Distribution Challenges and Solutions in a Small Court System

The article examines backlog, abnormal and over‑consumption problems in a small court’s task distribution, proposes an active‑claim model with user‑task lock queues to decouple qualification checks, and shows that these changes raise completion to 100%, cut processing time from 20 hours to under 2 hours while recommending a factory‑plus‑strategy architecture for future extensibility.

backend developmentqueue managementsystem design
0 likes · 9 min read
Task Distribution Challenges and Solutions in a Small Court System
Xianyu Technology
Xianyu Technology
Feb 2, 2023 · Mobile Development

Integrating Flutter Applications on Windows with Modular C++ Architecture and vcpkg Dependency Management

The article explains how to integrate Flutter‑based Windows applications by encapsulating native functionality in a modular C++ XModule framework—using macro‑generated providers, a global ModuleCenter, and CMake‑configured libraries—while managing all third‑party dependencies with vcpkg and private registries to ensure clean architecture and maintainable cross‑platform code.

C++FlutterWindows
0 likes · 15 min read
Integrating Flutter Applications on Windows with Modular C++ Architecture and vcpkg Dependency Management
Xianyu Technology
Xianyu Technology
Jan 18, 2023 · Backend Development

Java Ternary Operator NPE, Message Storm, and Network Latency Cases

The article uses a safety‑principle analogy to introduce three real‑world backend incidents—a Java ternary‑operator NullPointerException caused by unintended unboxing, a RocketMQ message‑storm triggered by swapped parameters, and a network‑path latency spike—showing how language semantics, messaging contracts, and infrastructure topology each can create production bugs.

DistributedSystemsJavaNPE
0 likes · 10 min read
Java Ternary Operator NPE, Message Storm, and Network Latency Cases