I'm a backend engineer who makes sure every payment is counted, booked and reconciled.
Shen Zhiyuan builds payment gateways, reconciliation platforms and order systems in Hangzhou. After nine years, the systems he runs carry 3.2 million transactions a day, and his favourite number is still zero: zero unmatched rows at the end of the day.
Recently: a cross-border payment gateway and an order system split that nobody noticed, which was the point.
Teams I have shipped with
- Luming Retail
- Qingwu Mobility
- Xiyun Health
Selected work
Three projects, all about money moving correctly: a gateway, a reconciliation platform and an order system split.
Experience
Nine years across three teams, mostly payments, orders and the reconciliation that keeps finance calm.
Read the résuméOpen source, in small useful pieces
Libraries pulled out of payment work, each doing one thing. Most of them are finished, not abandoned.
Latest writing
Notes on payments, ledgers and splitting systems without a freeze. A few posts a year.
Talks and workshops
About reconciliation and idempotency, told for people who have been paged about both.
Work
Case studies for the projects I can talk about in detail, and an archive of everything else I have shipped since 2017.
Everything else
Libraries, client builds and experiments. Filter by kind, or search by name or language.
| Year | Project | Kind | Built with | Link |
|---|
Writing
Notes on payments, ledgers, idempotency and order systems. Plain pages, no pop-ups.
Talks and workshops
Two talks so far, both about payments. Each one has notes, chapters and links to the related work.
Want a talk for your team or meetup?
I give one or two a year, in person around Hangzhou and Shanghai or remotely. Any topic above, or one close to it.
Uses
The hardware, software and paper behind the work. Nothing here is sponsored, and the keyboard is louder than it should be.
I'm Zhiyuan. I make money add up.
For nine years I have built the parts of products that finance notices first: payment gateways, ledgers, reconciliation and the order systems that feed them.
I started at a small payments start-up in Hangzhou, then spent four years at Luming Retail building the real-time reconciliation platform that now matches 3.2 million transactions a day. Since 2024 I work independently, one client at a time, on gateways, order system rebuilds and architecture reviews.
I like problems where the right answer is boring and provable: a ledger that balances, a retry that cannot charge twice, a cutover with a rollback plan. I write those plans down first and write about them later on the writing page.
- Count it twiceEvery payment is recorded by us and confirmed by someone else. When the two disagree, a person sees it the same day.
- Write it down firstA one-page design before any cutover. Being wrong in a document is cheaper than being wrong in a settlement file.
- Boring on purposePostgres, integers for money, one queue. The product can be exciting; the ledger should not be.
Milestones
A changelog of the career so far, newest first. One joke per year, maximum.
Outside the editor
Most evenings I walk along the lake after the daily close. It takes about forty minutes, which is also roughly how long it takes me to see what was wrong with a design I liked at lunch.
I also keep a paper notebook of every reconciliation exception that turned out to be a rounding rule. It is thicker than I would like.
Résumé
The one-page version. For the stories behind these lines, read the case studies.
Get in touch
Tell me about the system, the volume and where the numbers stop matching. I read everything and reply within two working days.
- GitHubexample.com/github/zhiyuan
- Blogexample.com/blog
Thanks. Message received.
I reply within two working days.
Demo form: nothing was sent. In your build, post this form to your handler and keep this success state.
404
That page is not here.
This one did not reconcile. These are safe places to land: