Platform-led PGO, runtime-controlled GC & Sonic JSON optimisations across 1,000+ high-CPU services, plus architectural lessons from discontinuing Combined Deployment.
面向 1,000+ 高资源消耗 Go 服务的平台主导 PGO、运行期动态控制的 GC/JSON 优化,以及停止推广合并编译后的架构反思。
Principal Engineer · Singapore (UTC+8) Principal Engineer · 新加坡(UTC+8)
Platform Engineering, Fleet-Wide Efficiency & AI-Native Engineering
平台工程、全站效率优化与 AI 原生工程
Principal Engineer with 9 years at Shopee, leading platform engineering for a Go marketplace backend of thousands of services: service frameworks, version governance, distributed tracing, and fleet-wide CPU efficiency. I find the leverage point, prove it with measurement or a proof of concept, set the technical direction, and bring many teams along. Most recently I started an org-level agent memory layer and moved my team to AI-native engineering.
Principal Engineer,在 Shopee 工作 9 年,负责承载数千个服务的 Go 电商后端的平台工程:服务框架、版本治理、分布式追踪,以及全站 CPU 效率。我的工作方式是找到杠杆点,用度量或 PoC 验证,确立技术方向并带动多个团队落地;带过最多 13 人的团队。最近发起了组织级 Agent 记忆,并带领团队转向 AI 原生的工程方式。
Led the fleet-wide efficiency program (PGO, GC tuning, JSON and core library optimisations, and Combined Deployment), establishing an end-to-end method from hotspot analysis through canary rollout to benefit measurement.
负责效率专项(PGO、GC 调优、JSON 等基础库级优化与合并编译),沉淀了从热点分析、优化实现、验证、灰度上线到收益测量的端到端方法论,也从合并编译的失败中总结了架构层面的教训。
440K instances (90%+ of Shopee Marketplace Go CPU, ≈60% Shopee-wide). GAS layers stable interfaces over swappable implementations with automated canary proactive upgrades, turning multi-month migrations into two-week rollouts.
覆盖 44 万实例(占 Shopee Marketplace 业务部门 Go CPU 的 90% 以上,全 Shopee 约 60%)。Go 应用服务器 GAS 通过稳定接口与可替换实现分层,配合自动 canary 分析的主动升级,让数月级跨团队变更缩短到两周铺开。
Custom 32-byte span context reusing the request-ID field with composite HTTP/UDP debug tracing; still the company standard and carrier for full-link load testing and PFB.
32 字节 span context 复用现有 request-ID 字段,配合 HTTP/UDP 组合 debug-trace;覆盖 3,000+ 个服务,至今仍是公司标准与全链路压测、PFB 的承载层。
An enterprise shared experience layer organised along the team hierarchy so agents reuse long-tail operational knowledge across repos and teams; adopted by Shopee’s two largest internal agent platforms.
沿团队层级组织的企业级共享经验层,让 Agent 跨仓库、跨团队复用 Skills 与文档容纳不了的长尾经验;Shopee 内部最大的两个 Agent 平台均已选择接入共建。
GAS platform (4,900+ services), fleet-wide Go efficiency program, org-level agent memory & AI-native engineering.
负责 GAS 平台(4,900+ 服务)、全站效率专项、组织级 Agent 记忆与 AI 原生工程转型。
Led Dev Platform (13 engineers at peak) to design and build GAS (Go Application Server) from scratch.
带领 Dev Platform 团队(高峰期 13 人)从零设计并建设 GAS 平台。
Led BFF then Dev Platform (manager from Mar 2022): Python-to-Go API migration, distributed tracing, spkit, and PFB 2.0.
先后负责 BFF 与 Dev Platform 团队(2022.03 起为 manager):API 层迁移、分布式追踪、spkit 与 PFB 2.0 落地。
Shopee Marketplace API-layer core features (cart, orders, return/refund) and platform capabilities (Memcached sharding, CDN migration, dynamic config).
负责 Shopee Marketplace API 层核心业务功能(购物车、订单、退货退款)及平台能力(Memcached 分片、CDN 迁移、动态配置)。
Platform-led PGO, runtime-controlled GC & Sonic JSON optimisations across 1,000+ high-CPU services, plus architectural lessons from discontinuing Combined Deployment.
面向 1,000+ 高资源消耗 Go 服务的平台主导 PGO、运行期动态控制的 GC/JSON 优化,以及停止推广合并编译后的架构反思。
Decoupling business code from infrastructure iteration via SPI/SP layering, build-time composition, automated canary proactive rollouts, and SSA call-stack verification.
以 SPI/SP 分层、构建期代码拼装、自动 canary 主动升级与基于 SSA 的静态迁移验证,解耦业务与基础架构迭代。
A hierarchical shared experience layer for coding and ops agents, alongside a team-wide transition to Claude-first workflows and AI-driven fleet upgrades.
面向工程与运维 Agent 的组织级共享经验层,以及团队整体转向 Claude-first 工程方式与 AI 驱动版本升级的实践。
Python-to-Go traffic diffing and gradual cut-over, Shopee’s standard tracing protocol and debug-trace SDK, and the default Go service scaffold across Marketplace.
Python 到 Go 的线上流量回放对比与渐进切流、覆盖 3,000+ 服务的追踪协议与 SDK,以及 Marketplace 默认 Go 服务脚手架 spkit。
Talks covering the spkit Go service framework, distributed tracing design and practice, and PFB 2.0 adoption.
涵盖 spkit 服务框架、分布式追踪设计与实践,以及 PFB 2.0 落地的技术分享记录。
Public technical write-ups on fleet-wide Go efficiency, platform-driven transparent upgrades, Combined Deployment trade-offs, and org-level agent memory.
计划陆续发布关于大规模 Go 效率优化、平台主导透明升级、合并编译的边界教训与组织级 Agent 记忆的公开技术长文。