Baidu, MeDo
Software Engineer
to present · Beijing
MeDo is an AI platform for generating, deploying, and hosting applications. Responsible for overseas billing and related backend systems; contributed to platform operations and releases.
In this role: 19 repositories and 600+ changes.
- Led the extraction of overseas billing into a separate service and database. Defined boundaries for subscriptions, orders, credits ledgers, and payment events; planned migration, cutover, and rollback, and verified the release.
- Contributed to the design and cross-service integration of Supabase-hosted backends: agent tools, schema changes, function deployment, and development/production isolation, with instance lifecycle, resource quotas, and billing integration.
- Resolved missing entitlements after payment and canceled subscriptions revived by late events. Improved event idempotency, terminal-state checks, and retries to prevent duplicate grants and incorrect entitlement recovery.
- Investigated a cluster outage caused by malicious accounts running miners in code-execution sandboxes. Used node state, processes, and resource configuration to identify CPU overcommit, contain the workload, and restore capacity.
- Built billing-migration reconciliation and failure-scenario acceptance checks against a production baseline of approximately 6.75 million ledger entries. Traced orders through payment callbacks to database writes, covering debt, credit expiry, and recurring grants.