About
I’m Lei Xia, a backend architect. I’ve been writing on this blog since 2014.
I started with PHP, Node.js, Go and frontend work, moved on to microservices and distributed systems, and now focus on AI agent engineering: making agents reliable, observable and testable in production.
This blog covers engineering problems I’ve actually run into — the trade-offs, and code that works.
Books
Four technical books published by Tsinghua University Press (in Chinese):
- ThinkPHP 8 in Action (2025)
- Node.js & Webpack in Action (2020)
- ThinkPHP5 in Action (2019)
- ThinkPHP in Action (2017)
Open source
- Echoic: AI pronunciation practice with phoneme-level scoring
- Lunet: a high-performance coroutine network library
More on GitHub.
Contact & subscribe
- RSS: subscribe
- GitHub: xialeistudio