About
About 10 years in backend, across microservices, API platforms, real-time messaging and reliable delivery. On a large sports-data / live-streaming platform I worked on the core backend for members, payments, auth, content and the API gateway (5+ subsystems). I have also taken contract work: a payment-channel and wallet back office, and an ERP rebuild for a retail wholesaler.
The one thing that defines me: I can carry a system on my own, from environment setup and development to launch and monitoring. MsgMesh was built that way. I am the owner of the whole process, and AI assistance is a working method I chose on purpose; quality comes from guardrails, not from typing every line by hand.
Personal project MsgMesh
It keeps Kafka behind a gateway and exposes only HTTP / SSE / WebSocket / MCP, so apps and AI agents can "subscribe to an event stream in one line." Auth, rate limiting and multi-tenant isolation are handled by the platform. It is live as a public beta with Free and Paid plans, and uses Polar for third-party payment subscriptions. A Go monorepo modular monolith: one binary on a single machine, clear service boundaries, and a Compose / Helm path for splitting later. About 5 months since 2026/06; 1,000+ commits in the main repo.
- Payment subscriptions: checkout, webhook signature verification, a subscription state machine, and plan / quota linkage. If a charge fails there is a 7-day grace period, then Free limits apply without cutting off reads and writes; an hourly reconciliation job catches missed events.
- Reliable delivery: webhook HMAC + retry + dead-letter queue (DLQ) + replay; metering is idempotent through offset high-water-mark dedup.
- Real-time + distributed state: SSE / WebSocket share a live-tail hub; cross-replica presence uses Redis ZSET heartbeats, with fail-open fallback to local.
- AI assistance and guardrails: I own architecture decisions, standards and review. TDD + integration / e2e tests + contract-drift tests (routes ↔ OpenAPI) + a pre-merge review gate + alerting. A single-machine public beta, no SLA.
Recent work Experience
Selected work
Payment subscriptions
MsgMesh with Polar: checkout, webhook signature verification, plan and quota linkage. State changes and notification emails share one transaction; alert rules are in place.
Gateway API layer · plan management
Used the gateway as a BFF over internal gRPC services and delivered 15 endpoints. Swagger + mock first, so the frontend could integrate in parallel through three requirement changes (development stage, deployed to the test environment).
Payment channels and wallet back office
Extended and hardened top-up channel settings, a back-office API to adjust member balances in batches (up to 1000 per batch, failures reported per item), and GitLab CI integration.
Retail wholesale ERP rebuild
Rebuilt a legacy PHP (CodeIgniter 3) monolith on ThinkPHP 8: four-layer architecture, JWT, an event bus and plugin framework (done in the dev environment only). Handed over to the client after the base architecture and main module APIs.
API Gateway / OAuth
A Go plugin for APISIX (multi-tenant IP allow/deny, maintenance windows); third-party logins such as Apple multi-audience and PKCE; OpenAI-generated match-analysis articles.
Self-hosted infrastructure
Proxmox LXC dev environments with shared middleware; VPS deploys with Docker Compose, reverse-proxy automation, Let's Encrypt TLS, and fail2ban / UFW hardening.
Writing
CI 全綠、部署成功、代碼正確,而功能對外是 404
In Traditional Chinese.
我把重試從 6 次降到 1 次,結果對單一端點的請求速率暴增了
In Traditional Chinese.