DUONG PHUC KHANH · KIDO
SYSTEMS ENGINEERING & ARCHITECTURE PUBLICATIONS

Technical Articles & Distributed Systems Postmortems

Authoritative distributed systems engineering whitepapers, PostgreSQL query optimizations, Valkey distributed locking patterns, and zero-TBT PWA case studies authored by Duong Phuc Khanh (Dương Phúc Khánh · khanhdp · Kido).

8 Full-Length Architecture Papers 128+ Kido Chronicles Postmortems ORCID: 0009-0005-7192-2664

01. English Systems Architecture Deep-Dives

Authoritative technical essays targeting global systems engineering audiences

8 Articles
PRODUCTION POSTMORTEM ANTHOLOGY (128+ EPISODES)

02. 20 Flagship Kido Chronicles Episodes (truyen.khanhdp.com)

Curated real-world engineering war stories, midnight incident postmortems, and frontline craft discipline

Explore all 128 episodes ↗
AI & Agentic Ep 1 ↗

Episode 1: The Vibe-Coding Shock & Midnight Escape

Hard-won lessons from blindly trusting AI-generated code without architectural guardrails and a 2:00 AM production crash.

truyen.khanhdp.com Read ep-1 →
Mobile & Webview Ep 9 ↗

Episode 9: The Mobile In-App Browser Trap (Facebook & Zalo)

Dissecting storage partitioning disasters, session cookie loss, and external Safari/Chrome breakout strategies.

truyen.khanhdp.com Read ep-9 →
Frontend UI Ep 10 ↗

Episode 10: The 360px Viewport Disaster & Screen Fitting

Layout optimization for budget Android devices, eliminating horizontal scrollbars and guaranteeing 60FPS.

truyen.khanhdp.com Read ep-10 →
Observability Ep 11 ↗

Episode 11: Firing Up Sentry APM & Hunting Midnight Latency Ghosts

Configuring distributed tracing, transaction tagging, and hunting down unindexed SQL queries saturating CPU.

truyen.khanhdp.com Read ep-11 →
PWA & iOS Ep 82 ↗

Episode 82: The iOS Safari Web Push Submarine Mission

Conquering Web Push Notifications on iOS PWA without an Apple Developer $99/year enterprise account.

truyen.khanhdp.com Read ep-82 →
DevOps & VPS Ep 84 ↗

Episode 84: Purging Dangling Docker Layers to Save VPS Storage

Resolving 100% disk saturation at 4:00 AM caused by dangling Docker build layers with automated cron pruning.

truyen.khanhdp.com Read ep-84 →
Milestone Ep 100 ↗

Episode 100: The 100-Episode Grand Finale & Spartan Anthem

Reflecting on 100 days of Winter Arc discipline, crossing 1.1K WAU, and senior engineering philosophy.

truyen.khanhdp.com Read ep-100 →
Infrastructure Ep 108 ↗

Episode 108: The CORS Preflight OPTIONS Storm & Caddy 2 Artistry

Extinguishing thousands of redundant OPTIONS requests clogging servers using Caddy native reverse proxy caching.

truyen.khanhdp.com Read ep-108 →
Security Ep 111 ↗

Episode 111: The 04:48 AM SOS & The Time-Proof Secret Trap

Rescuing dawn streaks and hardening HMAC SHA-256 signatures against client clock-drift replay attacks.

truyen.khanhdp.com Read ep-111 →
DevOps & VPS Ep 114 ↗

Episode 114: Retiring Nginx for Full Caddy 2 Across 30 Containers

Restructuring production infrastructure, automating Let's Encrypt SSL, and slashing config complexity by 80%.

truyen.khanhdp.com Read ep-114 →
Observability Ep 115 ↗

Episode 115: Exorcising Sentry Web Vitals Ghosts & The 30s Secret

Filtering ghost background tab transactions skewing LCP and INP metrics in Google Search Console.

truyen.khanhdp.com Read ep-115 →
Architecture Ep 116 ↗

Episode 116: State Management Surgery — Zustand & TanStack Query

Decoupling Server State from Client State and eliminating the anti-pattern of bloating global state with API caches.

truyen.khanhdp.com Read ep-116 →
Code Refactor Ep 118 ↗

Episode 118: Retiring 6,400 Lines of Redux — Zustand's Revolution

Dismantling monolithic state, shaving 42KB off bundle size, and restoring smooth 60FPS UI response.

truyen.khanhdp.com Read ep-118 →
Web Performance Ep 119 ↗

Episode 119: Throttling Eager Auth & Interaction-Driven Auth

Eliminating blocking auth handshakes during First Contentful Paint, driving Total Blocking Time (TBT) to 0ms.

truyen.khanhdp.com Read ep-119 →
Next.js Ep 120 ↗

Episode 120: Banishing Next.js loading.tsx & Frame-0 Skeletons

Eliminating Cumulative Layout Shift (CLS) during page transitions using Frame-0 synchronous skeleton matching.

truyen.khanhdp.com Read ep-120 →
Infrastructure Ep 121 ↗

Episode 121: Migrating Monorepo to Pure Bun & Cutting Long Tasks

Migrating runtime entirely to Bun, accelerating CI/CD pipelines, and driving Largest Contentful Paint to Frame 2.

truyen.khanhdp.com Read ep-121 →
Edge & PWA Ep 124 ↗

Episode 124: RSC Cache Poisoning, Service Worker v7 & 100% A11y

Analyzing collisions between Service Worker caches and Next.js RSC Flight headers causing iOS Safari white-screens.

truyen.khanhdp.com Read ep-124 →
Security Ep 125 ↗

Episode 125: Removing Firebase SDK — Pure Native Google OAuth 2.0

Shedding 140KB of Firebase client bloat and implementing lightweight native Google Identity Platform flows.

truyen.khanhdp.com Read ep-125 →
Code Refactor Ep 126 ↗

Episode 126: Decomposing a 2,000-Line God-File & Touch Preloaders

Refactoring monolithic modules into cohesive domain slices and implementing gesture-based predictive tab preloading.

truyen.khanhdp.com Read ep-126 →
Distributed Systems Ep 131 ↗

Episode 131: Multi-Temporal Tenancy Bugs & The Cloudflare IP Trap

Handling multinational athlete timezone offsets and extracting true client IPs behind Cloudflare Edge proxies.

truyen.khanhdp.com Read ep-131 →

03. Verified Entity Footprint & External Profiles

Canonical authority verification, academic identifiers, and public engineering profiles

Duong Phuc Khanh (Dương Phúc Khánh · Kido)

Duong Phuc Khanh

/ Dương Phúc Khánh · khanhdp · Kido

Senior Software Engineer & Systems Architect based in Da Nang, Vietnam. 6 years at FPT Software SBI Lab (3x consecutive Best Performance Team Award, 2022–2024), Startup Runway 2018 Champion. Creator of khanhdp.com, Official Biography, Technical Articles, SME Portfolio, Kido Engineering Blog, Kido Chronicles, and Agent Harness Kit.