Dương Phúc Khánh / Kido
Systems Architect & Engineering Leader. Architecting high-throughput distributed engines, algorithmic quant tooling, and multi-agent autonomous harnesses.
I build systems where latency is treated as a software bug and unneeded complexity is treated as operational debt.
Over the past 8+ years across enterprise FinTech, high-concurrency gateways, and autonomous developer tooling, I have operated by a strict mechanical sympathy doctrine: the 7-Rung Ladder. Never write what the standard library already provides; never invent application-level state synchronization when native database constraints guarantee deterministic invariants; and never scale horizontally what an efficient algorithm can execute on a single core in sub-5 milliseconds.
When scaling Linkpul to sustain 50,000 req/sec with p99 under 8ms, the answer was not adding ten more Kubernetes pods. It was eliminating lock contention using atomic Redis Mutex queues and asynchronous worker pipelines. When designing Index.vn, we avoided recursive graph queries by encoding hierarchical comment trees into Base32 Materialized Paths, cutting read operations to a single $O(\log N)$ B-tree index scan while reducing memory footprint by 98% with Redis HyperLogLog.
Today, software engineering is shifting from manual coding to Agentic Orchestration. With the Agent Harness Kit, I design resilient, deterministic workflows where headless AI subagents operate across parallel Git worktrees, governed by TDD regression gates and rigid quality contracts. Craft is not about writing thousands of lines—it is the discipline of knowing precisely which line matters.
Selected Flagship Systems
Production architectures designed for extreme concurrency, strict memory budgets, and autonomous developer verification loops.
Replaced recursive CTEs with sortable path prefixes (001.004.00A). Fetches entire thread trees in a single B-tree index scan.
64-bit integer permission vectors executed via bitwise operations in sub-microsecond CPU cycles instead of bulky join tables.
Cardinality estimation of millions of unique views with standard 0.81% error, consuming a flat 12KB RAM footprint per metric.
Guarantees that during sudden viral traffic surges, only one worker repopulates cold cache entries while peers wait on non-blocking pollers.
HTTP 302 redirects execute in <8ms p99; user analytics and geolocation telemetry are pushed asynchronously to Redis background streams.
Complete distributed tracing across gateway, cache hits, database queries, and async queues with live Prometheus-compatible metric ingestion.
Coordinates headless subagents in isolated directory worktrees, exchanging structured specifications and disk artifacts rather than degrading shared LLM memory.
Automatic verification gates: SonarQube static smells, Vitest TDD regressions, Playwright video recording telemetry, and single-commit squashing.
Unified agent protocol adapters linking standard MCP servers, memory graphs, and prompt rule engines across any frontier terminal agent.
Autonomous Infrastructure
12 active subdomains running on Contabo VPS with Docker container orchestration, Valkey 8.0, and Cloudflare DNS edge routing.
Client-side Markdown live editor and custom PDF exporter with zero backend storage.
Handy collection of developer utilities: JWT debugger, regex tester, hash generator, base64.
Real-time P2P market scraping, liquidity depth monitoring, and arbitrage spread tracking.
Quantitative asset tracking, capital allocation, and portfolio rebalancing intelligence.
High-velocity execution and weekly scoring system based on the 12-Week Year methodology.
Personal health record tracker, biometrics logging, and lifestyle optimization dashboard.
Diet tracking, nutritional analytics, and daily meal planning intelligence.
Distributed tracing, OpenTelemetry collectors, and p99 service latency telemetry.
Unified system metrics, CPU/memory telemetry, and real-time VPS resource utilization.
24/7 service uptime monitoring, SLA tracking, and heartbeat incident alerting.
Real-time streaming logs viewer across all running Docker containers on Contabo VPS.
Automated code smell inspection, vulnerability audit, and test coverage quality gate.
Quantitative Tools & Engineering Trajectory
Custom technical analysis indicator authored in Pine Script for algorithmic detection of market volatility expansion and high-probability trend breakouts.
Algorithmic Expert Advisors (EA)
Quantitative automated trading robots for Forex & Crypto markets with low-latency tick execution, dynamic ATR volatility buffers, and trailing risk control logic.
JustOrder: The Crucible of Real-Time Distributed State
In 2018, years before table QR ordering became common across Southeast Asian hospitality, I architected and co-founded JustOrder. Winning the Startup Runway 2018 Championship was exhilarating, but the true engineering payoff was surviving the real-world operational chaos of busy restaurants.
When 200 diners simultaneously submit order modifications through unstable mobile cellular connections, naive CRUD REST requests instantly cause double-ordering and out-of-order kitchen states. That trial by fire established my commitment to idempotency keys, optimistic concurrency, and zero-bullshit offline-first state synchronization—principles that continue to anchor every high-scale gateway I design today.