Copied to clipboard
KIDO / KHANHDP
01 / IDENTITY & MANIFESTO · DA NANG, VN
available for strategic advisory

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

Systems Architect & Engineering Leader. Architecting high-throughput distributed engines, algorithmic quant tooling, and multi-agent autonomous harnesses.

github.com/khanhduong22

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.

50,000+
Req/s Throughput
FastAPI & Redis gateway
98%
RAM Reduction
Redis HyperLogLog metrics
3x
Consecutive Best
SBI FPT (2022–2024)
8+
Years Craft
Distributed & FinTech
02 / PROOF POINTS & SELECTED WORK

Selected Flagship Systems

Production architectures designed for extreme concurrency, strict memory budgets, and autonomous developer verification loops.

Nested Comments
Base32 Materialized Path

Replaced recursive CTEs with sortable path prefixes (001.004.00A). Fetches entire thread trees in a single B-tree index scan.

Access Control
Bitmask RBAC Invariants

64-bit integer permission vectors executed via bitwise operations in sub-microsecond CPU cycles instead of bulky join tables.

Analytics Storage
Redis HyperLogLog

Cardinality estimation of millions of unique views with standard 0.81% error, consuming a flat 12KB RAM footprint per metric.

STACK: NestJS Base32 Materialized Path Bitmask RBAC Redis HLL Cloudflare R2
Explore Live Platform <5ms ETL pipeline latency
Stampede Prevention
Redis Mutex Locking

Guarantees that during sudden viral traffic surges, only one worker repopulates cold cache entries while peers wait on non-blocking pollers.

Critical Path
Decoupled Clickstream

HTTP 302 redirects execute in <8ms p99; user analytics and geolocation telemetry are pushed asynchronously to Redis background streams.

Observability
OpenTelemetry & SigNoz

Complete distributed tracing across gateway, cache hits, database queries, and async queues with live Prometheus-compatible metric ingestion.

STACK: FastAPI Redis Mutex PostgreSQL SigNoz APM Docker
Visit Linkpul Gateway Benchmark: 50,000+ RPS sustained
Multi-Agent Worktrees
Durable Context Bridges

Coordinates headless subagents in isolated directory worktrees, exchanging structured specifications and disk artifacts rather than degrading shared LLM memory.

Enforced Quality Gates
Zero Silent Error Policy

Automatic verification gates: SonarQube static smells, Vitest TDD regressions, Playwright video recording telemetry, and single-commit squashing.

Multi-Client Portability
Claude · Codex · Antigravity

Unified agent protocol adapters linking standard MCP servers, memory graphs, and prompt rule engines across any frontier terminal agent.

STACK: TypeScript Multi-Agent Worktrees MCP SonarQube Vitest Playwright
View Repository on GitHub Open-source agent harness architecture
03 / THE LAB & SELF-HOSTED FLEET

Autonomous Infrastructure

12 active subdomains running on Contabo VPS with Docker container orchestration, Valkey 8.0, and Cloudflare DNS edge routing.

12 / 12 Services Healthy · p99 <14ms
md.khanhdp.com · MD Preview Public Tool

Client-side Markdown live editor and custom PDF exporter with zero backend storage.

Productivity
tools.khanhdp.com · IT-Tools Hub Self-Hosted

Handy collection of developer utilities: JWT debugger, regex tester, hash generator, base64.

Developer Tools
p2p.khanhdp.com · P2P Tracker Automated

Real-time P2P market scraping, liquidity depth monitoring, and arbitrage spread tracking.

FinTech & Data
finance.khanhdp.com · Personal Finance Private Hub

Quantitative asset tracking, capital allocation, and portfolio rebalancing intelligence.

FinTech & Data
12weeks.khanhdp.com · 12-Week Year Hub Accountability

High-velocity execution and weekly scoring system based on the 12-Week Year methodology.

Life Ops
health.khanhdp.com · PHR Health Hub Private Biometrics

Personal health record tracker, biometrics logging, and lifestyle optimization dashboard.

Life Ops
food.khanhdp.com · Food & Nutrition Hub Personal Ops

Diet tracking, nutritional analytics, and daily meal planning intelligence.

Life Ops
signoz.khanhdp.com · SigNoz APM Infrastructure

Distributed tracing, OpenTelemetry collectors, and p99 service latency telemetry.

Observability
grafana.khanhdp.com · Grafana Dashboards Infrastructure

Unified system metrics, CPU/memory telemetry, and real-time VPS resource utilization.

Observability
kuma.khanhdp.com · Uptime Kuma Status Page

24/7 service uptime monitoring, SLA tracking, and heartbeat incident alerting.

Observability
dozzle.khanhdp.com · Dozzle Logs DevOps

Real-time streaming logs viewer across all running Docker containers on Contabo VPS.

Observability
sonar.khanhdp.com · SonarQube Quality CI/CD Gate

Automated code smell inspection, vulnerability audit, and test coverage quality gate.

Quality Gate
04 / SIGNAL & CODE

Quantitative Tools & Engineering Trajectory

Pine Script v5

TradingView Custom Indicator

Custom technical analysis indicator authored in Pine Script for algorithmic detection of market volatility expansion and high-probability trend breakouts.

MetaTrader 5 (MQL5)

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.

Execution: Zero-lag Tick Event Loop
Risk Policy: Strict Trailing ATR Max Drawdown
Target Markets: FX Spot & Crypto Pairs
Historical Signal · Startup Runway 2018 Champion

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.

Formal Certifications
Claude Certified Architect – Foundations
Anthropic Official Certification
AWS Certified Solutions Architect – Associate (SAA)
Amazon Web Services
Project Management Professional (PMP Track)
Predictable delivery & risk management
Honors & Recognition
SBI FPT Best Performance Team
3x Consecutive Award Winner (2022, 2023, 2024)
Startup Runway 2018 Champion
Awarded for JustOrder Distributed POS Architecture
City Computer Science Award First Prize
Competitive algorithm design & systems problem solving