Shoujun (Adrian) Diao

刁寿钧

I build the inference infrastructure behind generative-AI products.

§ 01 Now

At Lovart I am the backend architect for an AI-agent product: the service topology, the gateways, the model and tool access layers, and the cost of inference across GPUs and vendor APIs. Recent work: moving core services from Python to Go, a 30% TTFT cut that let a 14-node H200 cluster run on 6, and routing with fallback across 10+ model vendors.

Before that, seven years at Tencent: edge computing and AI cameras at YouTu Lab, then tech lead for the gateway, AutoML and data-processing modules of Tencent Cloud's TI platform, which we built from zero to commercialization. Its AI gateway took a 100× traffic surge during the DeepSeek boom without an incident.

I think about inference the way I once thought about Go: position first, then tempo. Most of what I write here is about that.

§ 02 Writing

A model gateway is a routing problem, not a proxy
How we route one API across four vendors by cost, quota and health, and what broke.
in progress
Burn-down: a cost model for inference
Turning GPU hours, token prices and failure rates into one number a team can argue with.
in progress
Leaving one cloud: notes from a multi-cloud migration
What to move first, what never to move, and the DNS mistake I'd avoid next time.
in progress

§ 03 Work

Token Ops Console (demo)
Operator's view of an LLM token-reselling platform: margins, channel health, reconciliation, to-dos.
2026
Tenant Portal (demo)
Customer-facing console modelled on OpenRouter: activity, model catalogue, keys, billing, routing preferences, guardrails.
2026
Concurrency Arena
A visual playground for exploring concurrent programming models.
2026
HTTPS Simulator
An interactive visual demo of the HTTPS handshake process, built with React.
2026

§ 04 Archive

2008 – 2016
Backend Notes 2011–2017
Source-code reading, MySQL, PHP/Lua/JS notes from my first decade as an engineer.
79 posts
骑行 2010
From Shanghai to Qinghai Lake by bicycle, written on the road.
12 posts
读书与围棋
Books, and the game I taught myself up to amateur 5-dan.
26 posts
足球
Inter, derbies, and the long habit of staying up for Serie A.
27 posts
随笔
Everything else from my twenties: food, cities, people.
29 posts

§ 05 Beyond

The rest of me: I talk, translate, organise, and play Go — badly at first, then not.

Speaker, Apache APISIX community
High-performance gateways
Co-translator, Problem Solving with Algorithms and Data Structures Using Python
Posts & Telecom Press · 2019
Translator, Practical Data Analysis
China Machine Press · 2018
President, Tencent East-China Football Association
Weekly turnout from under 5 to 40–50
President, Fudan University Go Club
Self-taught to amateur 5-dan
Volunteer Go (weiqi) instructor
Children of migrant workers, Shanghai
Oracle Certified Professional, MySQL
Certification
Father of two
Long commitments, steady growth