Back to Home

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
System Design12 min read

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.

Read more
How I Scaled an API to 100K Requests/Second with P99.99 Latency of 150ms
Performance15 min read

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.

Read more
Migrating Authentication from Firebase to AWS Cognito: A Practical Guide
AWS10 min read

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%.

Read more
React State Management in 2025: When to Use What
React8 min read

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.

Read more
5 Things I Wish I Knew Before Starting Freelance Development
Freelancing7 min read

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.

Read more
Achieving SOC 2 Compliance on AWS: A Developer's Practical Guide
AWS11 min read

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.

Read more