Bill Lin
Senior Backend Engineer
- Taipei, Taiwan
- 8+ years · Java backend
- Backend engineer on Java / Spring, mostly billing & payment systems
- Cross-trained on Vue / React and Kotlin for Android
- The frontend background helps me ship full-stack, but I focus on the server side
- This site is where I keep my engineering notes
Latest posts All posts →
Abuse Prevention: Making Scalping, Credential Stuffing, and Fake Accounts Unprofitable for Adversaries Who Adapt
System Design series Part 8-5: scalping, credential stuffing, fake accounts, SMS pumping; multi-key rate limits, risk-based step-up, lotteries, and a detect-respond loop.
Authentication: Sessions, Tokens, OAuth 2.0/OIDC, and Where Login State Should Live
System Design series Part 8-1: sessions vs tokens on revocation and scaling, OAuth 2.0/OIDC code flow and PKCE, browser BFFs, passwords, passkeys, and common attacks.
Authorization Models and the OWASP API Top 10: What You Can Do After Logging In
System Design series Part 8-2: function, object, and property-level authorization, RBAC vs ABAC vs ReBAC, where checks go, BOLA and SSRF defenses, the OWASP API Top 10.
Batch and Stream: Monthly Settlement Reports and a Live Trending List, Two Ways to Process Data
System Design series Part 7-4: batch vs stream, restartable chunked batches, event time, windows and late data, Lambda and Kappa, using Spring Batch and Kafka Streams.
Design Problem: A Chat System, Where Direct Messages and a 50,000-Person Live Chat Room Are Two Different Problems
System Design series Part 9-3: DMs and live chat: per-conversation sequence numbers, client message IDs, offline sync, unread counts, batched pushes, and a threat model.
CI/CD and Deployment Strategies: Old and New Versions Run Side by Side, So Design Changes for It
System Design series Part 10-2: build-once pipelines, rolling vs blue-green vs canary, expand–contract schema changes, canary analysis, flags, and supply chain security.
System Design series 11 parts · 51 posts
1 post
Part 1 Measurement basics3 posts
Part 2 From one machine to many4 posts
Part 3 Storage basics8 posts
Part 4 Distributed data7 posts
Part 5 Service communication5 posts
Part 6 Reliability5 posts
Part 7 Architecture evolution4 posts
Part 8 Security5 posts
Part 9 Design problems7 posts
Part 10 Delivery2 posts