Blog
Insights & Technical Deep Dives
Sharing what I've learned building high-performance systems at scale -- from architecture patterns to cloud infrastructure and career insights.

Implementing the Saga Pattern for Distributed Transactions in Microservices
How I used the Saga pattern to orchestrate distributed checkout workflows across five microservices, reducing abnormal order incidents by 40% while maintaining eventual consistency.

How I Scaled an API to 100K Requests/Second with P99.99 Latency of 150ms
A deep dive into the multi-layer caching strategy, database sharding, and RPC optimizations that powered Ximalaya's Album Service serving 80M+ audio albums.

Migrating Authentication from Firebase to AWS Cognito: A Practical Guide
Lessons learned from migrating a SaaS platform's auth system to AWS Cognito with MFA and SSO, reducing onboarding support tickets by 20%.

React State Management in 2025: When to Use What
A practical guide to choosing between useState, useReducer, Context, Zustand, and Redux based on real-world project complexity.

5 Things I Wish I Knew Before Starting Freelance Development
Practical lessons from transitioning to freelance software development: pricing, client communication, contracts, and building a sustainable business.

Achieving SOC 2 Compliance on AWS: A Developer's Practical Guide
How I led the SOC 2 compliance effort at a SaaS startup, from AWS infrastructure hardening to passing the audit with zero critical findings.