Skip to content
Leo Zhang

Research & Insights

Technical reflections, production lessons, and evolving thinking from a decade building production systems across Android, backend, AI, and industrial IoT.

AI Engineering2025-03

Building an AI Agent Pipeline with Dify and OOTDiffusion

Building ChatClothes taught me that multimodal AI lives or dies on orchestration. Dify coordinated an LLM agent, diffusion pipeline, and lightweight classifier across two free-tier GPU servers — turning three separate models into one conversational try-on system.
AI AgentDifyWorkflow Orchestration
5 min read
System Design2024-11

The Hidden Cost of Microservices in Manufacturing

Six years running Spring Cloud across 5+ factory sites taught me: service boundaries that look clean on paper become debugging nightmares when a serial scale stops reporting and the production line stalls. Event-driven is powerful — but contract testing is not optional.
MicroservicesEvent-DrivenIndustrial IoT
8 min read
Mobile Engineering2024-09

NDK Is Still the Only Way to Sub-200ms Mobile Messaging

After 10 years of Android IM, I've touched every abstraction: WebSocket, Firebase, Easemob, native wrappers. For consistent sub-200ms delivery at 5K DAU, a custom NDK TCP/UDP transport layer remains the only reliable answer.
Android NDKTCP/UDPReal-time
6 min read
Product Thinking2024-06

What Factory Floors Taught Me About UX

Hundreds of factory workers using Android terminals in noisy, gloved, time-pressured environments rewired how I design mobile interfaces. Large touch targets, offline-first, serial bridge for weight auto-fill — these aren't preferences, they're survival.
Industrial UXOffline-FirstField Work
7 min read
AI Engineering2024-11

YOLO12n-LC: 8× Smaller, 94% Accuracy, 35ms on Raspberry Pi

Training YOLO12n-LC for garment classification: 5MB model (8× smaller than the 40MB base), 94.2% accuracy, 35ms inference on Raspberry Pi 5. Channel reduction + ARM quantization — not architecture search — got us there.
Model CompressionYOLOOptimization
9 min read
Leadership2024-03

Leading Engineers Across Cultures and Time Zones

Leading a 6-person cross-functional team across time zones taught me: clear ownership, shared demos every week, and protecting deep work time matter more than any methodology. Async-first coordination is a feature, not a compromise.
Team LeadershipRemote WorkCross-cultural
5 min read

Want to discuss these topics?

I enjoy deep technical conversations. Use the chat below or connect on LinkedIn/GitHub.

Start Chat