Curriculum Vitae · English 个人简历 · 中文 A4 print-ready · 3 pages A4 打印版式 · 3 页

Zhao Pengcheng

Singapore (UTC+8) Singapore PR (+65) 90816821 Chris.zpc0613@gmail.com

Summary

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; I have led groups of up to 13 engineers. Most recently I started an org-level agent memory layer and moved my team to AI-native engineering.

Selected impact

≈150KCPU cores

Savings across Shopee’s Go fleet (2025-26)

Led the efficiency program (PGO, GC tuning, library-level optimisation such as JSON, and Combined Deployment of upstream and downstream services). It built an end-to-end method, from hotspot analysis and optimisation through validation and canary rollout to benefit measurement, and drew architectural lessons from the failure of Combined Deployment to scale.

4,900+production services

A platform upgrade path with no business-code changes (since 2023)

440K instances; 90%+ of Go CPU in the Shopee Marketplace business unit, ≈60% Shopee-wide. GAS, Shopee’s Go application server, layers stable interfaces over swappable implementations and upgrades services proactively under automated canary analysis, so cross-team changes that took months now ship within two weeks.

3,000+services

Shopee’s distributed tracing protocol and SDK (2020)

Adopted by 3,000+ services and still the company standard.

2agent platforms onboard

Org-level agent memory (2026)

An enterprise memory layer that lets agents share reusable experience across repositories and teams, built by a team of two engineers; both of Shopee’s largest internal agent platforms chose to integrate it.

Experience

Shopee, Singapore

Four promotions in nine years

Jul 2017-Present

Principal Engineer

Jan 2025-Present

Responsible for GAS (now 4,900+ services), efficiency and AI-native engineering; leads a group of 5.

Fleet-wide efficiency program, 2025-26

  • Targets the 1,000+ services using 100 or more cores, with every lever delivered through GAS upgrades. Breakdown: PGO ≈60K cores, GC and JSON ≈57K, logging, monitoring and A/B-test libraries ≈30K, Combined Deployment ≈3K.
  • PGO: an optional compiler optimisation since Go 1.21, adopted by only about 10 services in two months of self-service onboarding. It was reworked into a platform-led, automated rollout: automatic profile collection and aggregation, automatic injection and enabling at build time, and canary-based rollout with benefit measurement. Now enabled on about 800 services with no business-team involvement, a median gain of about 4.8% and no PGO-related incidents.
  • GC and JSON: hotspots identified and gains estimated from peak profiles aggregated across the 100 most resource-intensive services. GC tuning and the switch to the Sonic JSON library are controlled at runtime; dry runs, metric reporting and gradual rollout caught the bugs found along the way early, and they were fixed. Before the full-link load test, every target service is split 50/50 by instance for a final test and then frozen; gains are computed from the grouped metrics at the sale peak, and seconds-level rollback keeps services safe in extreme cases. Enabled on 200+ services with no production incidents.
  • Combined Deployment: compiles RPC-coupled upstream and downstream services into one process so calls run in-process; 9 pairs went live (≈3K cores). Adoption stalled, and the largest RPC consumer saved the same CPU another way, so promotion stopped in mid-2025; it stays an optional GAS capability, which one business has since adopted on its own. Lesson: even with automated cascaded deployment and isolated logs and metrics, one shared process erases the isolation that microservices provide. Release cycles stay coupled; a panic in the dependency takes down its caller instead of surfacing as an RPC error code; and habits such as reading logs inside the container rather than on the log platform leave a dependency’s maintainers needing access to its callers’ containers. The levers that scaled (PGO, GC, JSON) need no business-team effort and are switched and measured by the platform.

AI-native engineering and org-level agent memory, 2026

  • The paradigm has shifted to a general coding agent plus Skills, so an agent-development framework was dropped. Agents on non-coding work (deployments, troubleshooting, operations) still need a human for context held in people’s heads or stale docs, which led to org-level memory: a shared experience layer along the team hierarchy where agents record and share the long-tail detail that Skills and docs cannot hold. Validated with a mem0 proof of concept and built by a team of two engineers; AI coding agents write all the code, while the idea, architecture, evaluation design and accept-or-reject calls stay with the humans.
  • Early results: Shopee’s two largest internal agent platforms have both chosen to integrate it and co-build the dynamic experience layer; case studies on a production agent show faster, higher-quality answers with less human involvement.
  • The team’s move to Claude-first engineering: a shared BE harness, a GAS Q&A bot rebuilt on Claude (weekly escalations ≈11 → ≈4), and an AI-driven upgrade workflow with human checks at key steps, which carried the NamingSDK switch and a library upgrade across hundreds of services. PIC of BE Digital Employee.

Senior Expert Engineer

Jan 2023-Dec 2024

Led the Dev Platform team (13 engineers at the peak) to design and build GAS from the ground up.

GAS (Go Application Server), 2023-24

  • The problem: the Engineering Infra Head raised the pain of iterating and upgrading infra components: rolling out a new infra capability across thousands of microservices took months of cross-team pushing. The goal was to decouple business iteration from infrastructure iteration.
  • Architecture: SPI interfaces layered over SP implementations: business code depends only on stable SPIs (Service Provider Interfaces), and the capabilities behind them are swappable SPs (Service Providers). Business code develops objects, not services, so its lifecycle stays under platform control; SPs and the engine (the unified server and IoC container implementation) are composed at build time through generated code and go.mod rewriting, so an upgrade is a rebuild and redeploy with no source change. Go plugins were prototyped and passed over (runtime panics when versions differ) in favour of build-time composition.
  • Delivery: the engine and other server implementations, spkit-cli (development and build tooling) and control-center (the control plane); the company’s existing common infra components were also reworked into SPIs/SPs, including DB, cache, Kafka, HTTP, gRPC and remote config.
  • Transparent upgrades: the platform’s core value. In proactive rollout, GAS maintainers rebuild a service on a new engine version at the same commit and release it through multi-stage canaries judged by automated analysis, promoting or rolling back on the result. A survey of existing frameworks and canary tools found no equivalent, so it was built in-house.
  • Migration verification: the Shopee Marketplace business unit’s migration (1,700+ services, 6 teams). Some services looked migrated but used no SPI/SP and still called open-source libraries directly, so upgrades could not reach them; call-stack analysis built on SSA-based static code analysis identifies those call sites and drives complete migration.
  • Outcomes: 2,300+ services in 8 departments by Oct 2024; 88%+ on controlled library versions (before: 34% and under 5% for two libraries); 5 minor and 50+ patch releases, no major incident; proactive rollouts upgraded 83-87% of targeted services each quarter of 2025.

Expert Engineer

Sep 2019-Dec 2022

Team lead of BFF (3 growing to 7), then of Dev Platform (manager from Mar 2022).

BFF team lead, Sep 2019-Dec 2020

  • API-layer migration: the Shopee Marketplace business unit’s API layer, from a Python monolith to Go microservices.
    • Diff testing: goreplay records read-only production traffic and replays it, and the responses of the old and new implementations are compared; common noise fields are configured out, so real traffic drives the functional regression.
    • Gradual cut-over: a Lua extension script on nginx chooses dynamically between the Python and Go upstreams by rule, so traffic shifts to the new services in stages.
  • Distributed tracing protocol and SDK: the OpenTracing interface could not carry all the internal requirements, so a customised protocol and SDK were built with the data format kept consistent.
    • Protocol: a 32-byte span context reuses the existing request-ID field, so the wire protocol is unchanged and services keep their existing usage habits.
    • Debug trace: switched on per request, it collects far more detailed debug logs in full for troubleshooting. Open-source jaeger-tracer reports over UDP, and spans above the single-packet size limit were silently dropped; wrapping jaeger-tracer in a composite tracer sends debug spans over HTTP and normal spans over UDP, which removes the limit.
    • RPC integration: covers the company’s three RPC protocols: direct TCP, HTTP and Spex (the in-house service mesh).
    • Carrier for company-level projects: the later full-link load test (carrying a stress-test flag) and PFB (carrying the feature name) are built on this protocol, which is now rolled out across most services.

Dev Platform team lead, Jan 2021-Dec 2022

  • spkit: a Go service scaffold with a CLI tool, a unified config library, service lifecycle management and common interceptors, supporting all of the company’s RPC protocols (HTTP, Spex, gRPC) and Kafka consumers; 600+ services and 400+ engineers by 2022, the default for every new service in the Shopee Marketplace business unit.
  • PFB 2.0: the Shopee Marketplace business unit’s adoption of the company-wide per-feature test environments, across 800+ services in 11 teams.

Senior Engineer

Nov 2018-Aug 2019

Built API-layer platform features for the Shopee Marketplace business unit: Memcached sharding, CDN migration, dynamic config.

Engineer

Jul 2017-Oct 2018

Built core API-layer features for the Shopee Marketplace business unit: shopping cart, orders, return and refund.

Strengths and skills

Strengths
Technical direction under ambiguity; fleet-wide change across many teams; evidence-driven decisions; building and leading engineering groups
Technical
Go (primary), Python; pprof, PGO, GC tuning, code generation, control-plane design, static analysis, distributed tracing; LLM retrieval and evaluation; AI coding agents

Education and talks

National University of Singapore, M.Tech2016-2017
Beihang University, B.Eng Software Engineering2011-2015

Talks: Shopee Tech Summit 2021 (spkit); company sessions on tracing and PFB 2.0.

赵鹏程

Zhao Pengcheng

新加坡(UTC+8) 新加坡 PR (+65) 90816821 Chris.zpc0613@gmail.com

个人简介

Principal Engineer,在 Shopee 工作 9 年,负责承载数千个服务的 Go 电商后端的平台工程:服务框架、版本治理、分布式追踪,以及全站 CPU 效率。我的工作方式是找到杠杆点,用度量或 PoC 验证,确立技术方向并带动多个团队落地;带过最多 13 人的团队。最近发起了组织级 Agent 记忆,并带领团队转向 AI 原生的工程方式。

主要成果

≈15 万CPU 核

Go 服务整体的节省(2025-26)

负责效率专项(PGO、GC 调优、JSON 等基础库级优化、上下游服务合并编译等),积累了从热点分析、优化实现、验证、灰度上线到收益测量的端到端方法论,也从合并编译的失败中吸取了架构层面的教训。

4,900+个生产服务

平台升级通道,业务代码无需改动(2023 起)

44 万实例,占 Shopee Marketplace 业务部门 Go CPU 的 90% 以上,全 Shopee 约 60%。Shopee 的 Go 应用服务器 GAS 以稳定接口加可替换实现的分层,配合自动 canary 分析驱动的主动升级,使原本需要数月的跨团队变更,现在两周内即可铺开。

3,000+个服务

Shopee 的分布式追踪协议与 SDK(2020)

覆盖 3,000+ 个服务,至今仍是公司标准。

2个最大 Agent 平台已接入

组织级 Agent 记忆(2026)

企业级记忆层,让 Agent 跨仓库、跨团队共享可复用的经验,由两名工程师的团队开发;Shopee 内部最大的两个 Agent 平台都选择了接入。

工作经历

Shopee,新加坡

九年间四次晋升

2017.07 至今

Principal Engineer

2025.01 至今

负责 GAS 平台(目前 4,900+ 个服务)、全站效率专项和 AI 原生工程转型;带领 5 人团队。

全站效率专项,2025-26

  • 目标是 CPU ≥100 核的 1000+ 个服务,所有杠杆都通过 GAS 升级落地。分项:PGO 约 6 万核,GC 与 JSON 约 5.7 万,日志、监控与 A/B 测试库约 3 万,合并编译约 0.3 万。
  • PGO:Go 1.21 起的可选编译优化,自助接入两个月只有约 10 个服务。重新设计为平台主导的自动化推广:自动采集并聚合 profile,编译阶段自动植入并启用,基于 canary 部署做 rollout 与收益测量。在业务团队零参与的情况下,目前约 800 个服务已启用,收益率中位数约 4.8%,无 PGO 相关事故。
  • GC 与 JSON:基于资源占用前 100 的服务在峰值时的 profile 聚合分析,识别热点并估计收益;GC 调优与切换到 Sonic 序列化库都在运行期动态控制,过程中发现的 bug 都由 dry run、指标上报和灰度提前拦截并处理。全链路压测前,对所有目标服务的实例做 50/50 分组,完成最后的测试并封板;最终依靠大促峰值期间的分组指标计算收益,并以秒级回滚保障极端情况下的服务安全。目前已在 200+ 个服务上启用,无线上事故。
  • 合并编译:把存在 RPC 调用关系的上下游服务编译进同一进程,调用变为进程内调用;上线 9 对(约 0.3 万核)。推广陷入停滞,而 RPC 成本最大的业务团队用别的方式省下了同一块 CPU,2025 年中停止推广;它作为 GAS 的可选能力保留,之后有一个业务自行切换到了该模式。教训:即使有自动化的级联发布,以及日志、指标的隔离,同一进程仍然抹掉了微服务提供的隔离边界:发布周期依然耦合;被依赖服务极端情况下 panic 会拖垮依赖方,而微服务下只是收到一个 RPC 错误码;排障习惯(例如进容器看日志,而不是用日志平台)也会让被依赖服务的 maintainer 需要依赖方容器的权限。真正规模化的杠杆(PGO、GC、JSON)都不需要业务团队投入,由平台统一开关与度量。

AI 原生工程与组织级 Agent 记忆,2026

  • 范式已变为通用编码 Agent 加 Skills,因此放弃了 Agent 开发框架的想法。Agent 做编码之外的工作(部署、排障、平台操作)时仍要靠人补上下文,而这些上下文散落在个人经验和过期文档里,由此形成组织级记忆:一个沿团队层级组织的共享经验层,由 Agent 记录并共享 Skills 和文档容纳不了的长尾细节。用 mem0 做 PoC 验证,由两名工程师的团队开发;代码全部由 AI 编码 Agent 编写,想法、架构、评测设计,以及接受或否决的判断仍由人负责。
  • 初步成果:Shopee 内部最大的两个 Agent 平台都已选择接入,共建动态经验层;对一个生产 Agent 的案例分析显示,回复更快、质量更高、人工参与更少。
  • 团队整体转向 Claude-first 的工程方式:共享的 BE harness;用 Claude Agent 重建的 GAS 问答机器人(每周需人工介入的工单约 11 降到约 4);以及关键步骤人工把关的 AI 驱动版本升级流程,承接了 NamingSDK 流量切换和一次库升级,覆盖数百个服务。担任 Engineering Infra Digital Employee 项目中 BE DE 的 PIC。

Senior Expert Engineer

2023.01-2024.12

带领 Dev Platform 团队(高峰期 13 人)从零设计并建设 GAS。

GAS(Go Application Server),2023-24

  • 问题:Engineering Infra Head 提出了 Infra 组件迭代升级的痛点:新的 infra 能力要推广到数千个微服务,每次都要跨团队推动数月。目标是把业务与基础架构的迭代解耦。
  • 架构:SPI 接口与 SP 实现的分层:业务只依赖稳定的 SPI(Service Provider Interface)接口,具体能力由可替换的 SP(Service Provider)实现提供。业务只开发对象,不开发服务,生命周期始终在平台掌控下;SP 与 engine(统一的 server 与 IoC 容器实现)在构建期通过代码生成和改写 go.mod 拼装,升级就是重新构建并部署,无需改源码。原型验证过 Go plugin(版本不一致时 runtime panic),最终选择了构建期拼装。
  • 交付:engine 等 server 实现,spkit-cli 开发与编译工具,control-center 控制面;同时将公司内已积累的通用 infra 组件都改造为 SPI/SP,包括 DB、cache、Kafka、HTTP、gRPC、remote config 等。
  • 透明升级:平台的核心价值。主动升级由 GAS 维护者用新版 engine、同一个 commit 重新构建服务,经多阶段 canary 并由自动分析判定,按结果 promote 或回滚。调研现有框架和 canary 工具后没有找到对应的方案,所以自研。
  • 迁移验证:Shopee Marketplace 业务部门的迁移(1,700+ 个服务,6 个团队)。有些服务看起来已迁移,却没有使用 SPI/SP,而是依然直接使用开源公共库,升级触达不了它们;用基于 SSA 的静态代码分析做 call stack 分析,识别这些调用点,推动完整迁移。
  • 成果:2024.10 时,8 个部门的 2,300+ 个生产服务;88% 以上运行在受控的库版本范围内(此前两个关键库分别为 34% 和不足 5%);发布 5 个 minor、50+ 个 patch 版本,无重大事故;2025 年每个季度,主动升级覆盖 83% 到 87% 的目标服务。

Expert Engineer

2019.09-2022.12

先后担任 BFF 团队(3 人扩至 7 人)和 Dev Platform 团队的负责人,2022.03 起为 manager。

BFF 团队负责人,2019.09-2020.12

  • API 层迁移:Shopee Marketplace 业务部门的 API 层从 Python 单体迁移为 Go 微服务。
    • diff 测试:用 goreplay 录制线上的只读流量并回放,比对新旧实现的 response;配置并去除常见的噪音字段,用真实流量完成功能回归。
    • 渐进切换:通过 nginx 上的 Lua 扩展脚本,按动态规则在 Python 和 Go 两个上游之间选择,逐步灰度放量。
  • 分布式追踪协议与 SDK:OpenTracing 的接口无法承载所有内部需求,因此在数据格式保持一致的前提下,定制了自己的协议与 SDK。
    • 协议:32 字节的 span context 复用现有 request-ID 字段,不改线协议,各服务无需改变原有的使用习惯。
    • debug-trace:请求级别开启,全量收集更详细的 debug 日志用于排障。开源 jaeger-tracer 用 UDP 上报,超出单包大小限制的 span 会被静默丢弃;封装 jaeger-tracer,构造基于 HTTP 上报的组合 tracer,debug span 走 HTTP,普通 span 仍走 UDP,绕开了这个限制。
    • RPC 集成:覆盖公司内三种 RPC 协议:TCP 直连、HTTP 和 Spex(自研 service mesh)。
    • 公司级项目的承载层:之后的全链路压测(传递 stress test flag)、PFB(传递 feature name)等公司级项目都基于这套协议,目前已在大部分服务上铺开。

Dev Platform 团队负责人,2021.01-2022.12

  • spkit:Go 服务脚手架,包含 CLI 工具、统一配置库、服务生命周期和常用拦截器等,支持公司内所有 RPC 协议(HTTP、Spex、gRPC)以及 Kafka consumer;2022 年时已有 600+ 个服务、400+ 名工程师使用,是 Shopee Marketplace 业务部门所有新服务的默认框架。
  • PFB 2.0:Shopee Marketplace 业务部门对公司级按特性分支测试环境的落地,覆盖 11 个团队的 800+ 个服务。

Senior Engineer

2018.11-2019.08

负责开发 Shopee Marketplace 业务部门的 API 层平台功能:Memcached 分片、CDN 迁移、动态配置。

Engineer

2017.07-2018.10

负责开发 Shopee Marketplace 业务部门的 API 层核心功能:购物车、订单、退货退款。

核心能力与技能

核心能力
在不确定性中确立技术方向;推动跨多个团队的全站级变更;用数据做决策;组建并带领工程团队
技术
Go(主力)、Python;pprof、PGO、GC 调优、代码生成、控制面设计、静态分析、分布式追踪;LLM 检索与评测;AI 编码 Agent

教育与分享

新加坡国立大学,技术硕士2016-2017
北京航空航天大学,软件工程学士2011-2015

分享:Shopee Tech Summit 2021(spkit 框架);公司级分享:分布式追踪、PFB 2.0。