Skip to content
View trnahnh's full-sized avatar
:octocat:
Adrenaline Chaser
:octocat:
Adrenaline Chaser

Highlights

  • Pro

Block or report trnahnh

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
trnahnh/README.md
Image

Typing SVG


University GPA Location


Portfolio LinkedIn Email GitHub


Profile Views GitHub Followers GitHub Stars


About

I build systems that operate at the edge of what hardware allows.

My work lives in the space between nanoseconds and profit — low-latency matching engines,
platform engineering on Kubernetes, AI research infrastructure, and real-time systems
designed to handle production load without flinching. I treat performance as a feature,
not an afterthought.

Currently studying Computer Engineering at the University of Cincinnati (3.77 GPA),
doing AI research in Dr. Novak's lab on TruVox, and targeting quantitative finance,
AI/ML, and big tech firms for Summer 2027 co-op. My background spans systems programming
in Rust and Go, Kubernetes platform engineering with Istio and ArgoCD, ML pipelines,
and full-stack product engineering across multiple deployed applications.

I don't build apps. I build engines.

Open To: Summer 2027 Co-op · Quant Finance Internships · AI/ML Research · Big Tech SWE Roles · Systems & Platform Engineering


Tech Stack

Languages

Skill Icons

Frontend

Skill Icons

Backend & Databases

Skill Icons

Cloud, DevOps & Tooling

Skill Icons

Observability & ML

Skill Icons


Featured Projects

Kiln-IDP — Internal Developer Platform

A Kubernetes-native internal developer platform that replaces ticket-and-Terraform provisioning with self-service infrastructure. Features a custom scheduler plugin, a statistically rigorous canary controller, and a fail-closed policy gate integrating 6 subsystems behind one unified path.

Attribute Detail
Stack Go, Java (Spring Boot), Kubernetes, ArgoCD, Istio, Kafka, PostgreSQL, OpenTelemetry
Cost 45.5% cluster spend reduction with zero SLA violations via custom Kubernetes scheduler plugin
Canary Wald sequential probability ratio test + cumulative CUSUM · 100% regression detection at 2.8% false-rollback rate on live Istio mesh
Provisioning Self-service path reaching Ready at 11s p50 · Replaced hours-to-day ticket-and-Terraform flow
Safety Fail-closed policy gate integrating 6 subsystems
Seeded Tests Caught 100% of 1,000 seeded regressions
Repository github.com/trnahnh/kiln-idp

The custom scheduler plugin bin-packs workloads against real utilization metrics rather than requests, reclaiming stranded capacity without violating availability guarantees. The canary controller combines a Wald SPRT for early stopping with a CUSUM chart for detecting gradual drift, running on live Istio traffic splits. Provisioning collapses namespace creation, RBAC binding, secret injection, Kafka topic creation, database provisioning, and ArgoCD application registration into a single declarative request.



Commma — Developer Activity Tracker

A full-stack developer activity platform turning the editor into a logbook — pace, splits, streaks, and leaderboards as rituals of a real sport, applied to code. A VSCode/Open VSX extension captures editor activity in real time; a Hono API ingests and aggregates sessions; a React web app surfaces session detail, streaks, leaderboards, and shareable keyboard heatmap cards. Live at 100% availability over 30 days with 500+ downloads.

Attribute Detail
Stack TypeScript, React 19, Vite, Tailwind v4, Hono, Node.js, PostgreSQL, Redis
Extension VSCode + Open VSX · Key-label tracking · Three privacy modes · Offline queue
Privacy Keys-only guarantee at two layers · Extension never reads editor content · API re-derives privacy mode from Redis-cached lookup
Performance p50 latency cut from 42ms to 13ms · Load-tested to 271K events / 4,447 sessions with zero 5xx
Cost Replaced BullMQ/Redis with interval scanner · Redis commands near 0 against 500K/mo budget cap
Auth GitHub OAuth · JWT access tokens · HTTP-only rotating refresh tokens
Billing Stripe Pro/Team subscriptions · Signature-verified webhooks
Deployment EC2 t4g (Graviton) + PM2 · S3 + CloudFront · Neon PostgreSQL · Upstash Redis · Terraform
Live commma.dev

The extension captures key labels — never key content — across three configurable privacy modes. The API aggregates raw events into session records with pace, line delta, and per-language breakdowns. The Canvas heatmap layer renders per-session key frequency as a transparent PNG exportable in three aspect ratios (9:16, 1:1, 16:9) for social sharing. Load testing traced a local connection-pool win that didn't reproduce in prod to client bandwidth, not the server.



Ferrox — Order Matching Engine

A production-grade central limit order book matching engine written in Rust, architected for sub-microsecond execution in high-frequency trading environments. Designed around zero-cost abstractions, lock-free concurrency primitives, and memory-mapped persistence with crash recovery guarantees. Deployed as a containerized service on AWS Fargate.

Attribute Detail
Stack Rust, Atomics, mmap WAL, Criterion, HdrHistogram
Scale 4.7M orders/second sustained throughput
Performance 500ns P99 tick-to-trade latency · Zero hot-path heap allocations
Memory 1M-slot pre-allocated arena · Fixed-point prices · HashMap-to-BTreeMap swap trading 9-22% insert regression for 67-85% cancel latency cut
Concurrency Lock-free SPSC ring buffer · Acquire/Release over SeqCst to avoid unnecessary fence instructions · 64B cache-line padding · 8.8x throughput gain over std::sync::mpsc
Reliability mmap write-ahead log · Crash recovery under 1.4ms
Deployment AWS Fargate · NLB at 70% of total hourly cost
Repository github.com/trnahnh/ferrox

Built to match or exceed the performance profile of institutional-grade matching engines. The design eliminates all dynamic memory allocation on the critical execution path, using a pre-allocated arena and stack-pinned message passing throughout. The WAL layer guarantees durability without sacrificing microsecond-level recovery windows, verified end-to-end via HdrHistogram latency measurement under Criterion benchmarks.



Draft-Thinker — Cost-Aware LLM Gateway

A high-performance LLM routing gateway written in Go that cuts inference costs by 82.9% (bootstrapped 95% CI: 79.6–86.0%) while holding accuracy at 98.1%. Routes requests dynamically using a machine learning entropy router built on top-k logprobs from the OpenAI API, executes speculative drafts via goroutines, and serves repeated semantic queries from a vector-backed cache layer under 50ms.

Attribute Detail
Stack Go, OpenAI API, Qdrant, Redis, Prometheus, Grafana, Docker
Cost Reduction 82.9% inference cost savings (bootstrapped 95% CI: 79.6–86.0%)
Routing Machine learning entropy router using top-k logprobs from OpenAI API
Accuracy 98.1% on benchmark
Diagnosis Identified confidence-threshold baseline ceiling at 61.5% from OpenAI logprob-reporting artifact affecting 65.5% of creative prompts — entropy routing structurally avoids this
Speculative Execution Goroutine pipeline · 5-10% compute waste on 30% of requests
Cache Vector search + TTL eviction · Cosine similarity ≥ 0.95 · Sub-50ms cache hits
Observability Prometheus metrics · Grafana dashboards
Repository github.com/trnahnh/draft-thinker

The entropy router evaluates token-level confidence distributions from the drafter model before deciding whether to escalate to a capable and expensive model. Diagnosed why a confidence-threshold baseline plateaus at a 61.5% cost-reduction ceiling from an OpenAI logprob-reporting artifact affecting 65.5% of creative prompts, which entropy routing structurally avoids. Full observability via Prometheus and Grafana covers routing decisions, cache hit rates, and per-model cost attribution.



Inyeon — Agentic AI Git Assistant

A multi-agent AI assistant for software engineering workflows, built on a LangGraph orchestration backbone with a FastAPI runtime and ChromaDB vector memory. Handles the full spectrum of developer requests through a 7-agent pipeline with 100ms median response time and 100% test coverage across 245+ cases.

Attribute Detail
Stack Python, FastAPI, LangGraph, ChromaDB, scikit-learn, NumPy, Typer
Architecture 7-agent orchestration pipeline with cost-optimized caching and short-circuiting
Performance 100ms median response latency
Test Coverage 245+ test cases · 100% unit and integration branch coverage
Build Speed 95% Docker build time reduction (49s → 2.1s)
Memory RAG-powered ChromaDB across 4 clustering strategies via scikit-learn
Repository github.com/trnahnh/inyeon

Each agent in the pipeline is scoped to a discrete responsibility: intent classification, repository context retrieval, code analysis, diff generation, review synthesis, test suggestion, and response formatting. LangGraph manages state transitions and conditional routing between agents, enabling complex multi-hop workflows without brittle prompt chaining.



KatanaID — AI Branding Toolkit

A production-deployed AI branding platform written in Go, generating brand identities through high-concurrency API orchestration. Integrates Google Gemini AI for creative generation with a trust score engine and browser fingerprinting for session security, delivering complete brand packages under 200ms via concurrent goroutine execution. Validated under 2,300+ requests/day via k6 stress testing.

Attribute Detail
Stack Go, React, Gemini AI, Ent ORM, PostgreSQL, goroutines, Railway, Vercel
Concurrency 19+ parallel API calls per request via goroutine fan-out
Performance Sub-200ms response times · 2,300+ requests/day in production
Security Trust score engine · Browser fingerprinting · k6 stress tested
Data Layer Ent ORM type-safe PostgreSQL · Zero schema-related runtime errors
Deployment Production · katanaid.com

The fan-out architecture dispatches all generative API calls simultaneously at request ingestion, collapsing serial latency chains into a single parallel wait window. Trust scoring evaluates session signals in real time, gating generation behind lightweight anomaly detection before touching paid API quota. Ent ORM enforces strict type safety on the PostgreSQL layer, enabling reliable large-scale brand data synchronization across distributed API sources.



Caphne — Real-Time Study Matching Platform

A real-time peer study matching platform serving 400+ active users at FPT University, built on a Socket.IO event bus with PostgreSQL persistence and Redis caching. Engineered to sustain 1,700+ requests per minute under concurrent session load.

Attribute Detail
Stack Nuxt 3, Vue 3, shadcn-vue, Tailwind, Express.js, Socket.IO, PostgreSQL, Drizzle ORM, Redis
Scale 1,700+ requests/minute · 400+ active users · 30 days production traffic
Performance API response time cut from 60s to 10s · Socket.IO scoped to per-match rooms
Match Supply Deleted two speculative DB tables · Raised daily match supply 7x (3/3hr → 20/day)
Infra EC2, CloudFront, S3, Route 53 via Terraform · OIDC-federated credentials
Incidents Root-caused and fixed 2 production incidents same-day from raw error output
Auth JWT · OAuth 2.0 · Typebox schema validation
Deployment Production · caphne.co

The Redis layer serves presence state and match candidates from memory, keeping the hot path away from PostgreSQL except for durable writes. Socket.IO manages bidirectional session state across the matching lifecycle, from availability broadcast through confirmation handshake to session teardown. Led 6 engineers through sprint planning and code reviews across the full product lifecycle.



Dasi — End-to-End Encrypted Journal

A privacy-first journaling application with end-to-end encryption — thoughts are encrypted on-device before leaving the client, ensuring the server never has access to plaintext content. Daily writing prompts eliminate the blank-page problem and drive consistent engagement.

Attribute Detail
Stack Go, Chi, PostgreSQL, React, TypeScript, AWS Lambda, Resend
Security On-device encryption before sync · Server sees only ciphertext
Infrastructure AWS Lambda serverless compute
Notifications Resend transactional email for daily prompts
Repository github.com/NauriFive/dasi-encrypted-journal

The encryption model ensures that even a full database compromise exposes no user content — all plaintext remains on the client. The daily prompt system is designed to reduce activation energy for writing, routing prompts through Resend at scheduled intervals to nudge users back into the habit loop.



AnyuDock — S3 File Storage & Config Sharing

A brutalist-by-design S3 file storage platform for sharing files and environment configs between machines. Private by default, public on demand — files stay locked to the owner until explicitly toggled, with share links available for public files only.

Attribute Detail
Stack Hono, Bun, Drizzle ORM, PostgreSQL, React, TanStack Router/Query, Tailwind, Vite
Storage Any S3-compatible provider · Privacy toggle per file · Share link generation
Auth Email OTP via Resend · JWT session cookies
API File upload, list, preview, download, privacy toggle, share links
Deployment Production · anyudock.cloud
Repository github.com/NauriFive/anyudock

Files are private by default on upload — private files are owner-only for preview and management, while public files are downloadable by anyone with the file ID. Share links are generated only for public files, keeping accidental exposure impossible by design.



Experience

Incoming AI Researcher · University of Cincinnati Department of Computer Science Aug 2026 – Present · Cincinnati, OH

Building AI-driven voice modification and exercise-recommendation modules (e.g., PerMod) in Dr. Novak's lab for TruVox, an existing gender-affirming voice training platform, alongside its deployment infrastructure.

Python AI/ML


Founder & CTO · Commma · commma.dev · LinkedIn May 2026 – Present · Cincinnati, OH

Building commma.dev end-to-end — a TypeScript monorepo spanning a VSCode/Open VSX extension, a Hono/Postgres API, and a React SPA — live on AWS at 100% availability over 30 days with 500+ downloads.

  • Built the VSCode extension with key-label tracking, three configurable privacy modes, and an offline queue for resilient event delivery
  • Replaced BullMQ/Redis with an interval scanner, holding Redis commands near 0 against a 500K/mo budget cap
  • Enforced a keys-only privacy guarantee at two layers: extension never reads editor content, API re-derives privacy mode from a Redis-cached lookup, cutting p50 latency from 42ms to 13ms
  • Load-tested the live stack to 271K events / 4,447 sessions with zero 5xx, then traced a local connection-pool win that didn't reproduce in prod to client bandwidth, not the server
  • Deployed on EC2 t4g (Graviton) with PM2, S3 + CloudFront for the web layer, Neon PostgreSQL, Upstash Redis, and Terraform for infra-as-code with S3-locked remote state

TypeScript React Hono PostgreSQL Redis AWS Stripe Terraform


Lead Software Engineer · Caphne Jan 2026 – Aug 2026 · Remote

Led a cross-functional team of 6 engineers through sprint planning, code review, and production deploys of a full-stack study matching platform scaling to 400+ active users.

  • Cut API response time from 60s to 10s by engineering a distributed, real-time chat system with Socket.IO scoped to per-match rooms, sustaining 1.7K+ requests/minute over 30 days in production
  • Architected AWS infrastructure as code (EC2, CloudFront, S3, Route 53) via Terraform with OIDC-federated credentials, then root-caused and fixed 2 production incidents same-day from raw error output
  • Deleted two speculative database tables from match rate-limiting, raising daily match supply 7x (3/3hr to 20/day)

Nuxt Vue Express Socket.IO PostgreSQL Redis AWS Terraform


Founding Engineer · KatanaID Dec 2025 – Present · Remote

Co-founding and leading 5 engineers to architect a scalable AI branding intelligence platform in Go, from initial design through production deployment and ongoing operations.

  • Architected a scalable end-to-end branding intelligence backend in Go, leveraging goroutines to orchestrate 19+ external API calls for real-time asset aggregation and PDF generation
  • Sustained 2,300+ requests/day under production load, validated via k6 stress testing, by integrating Google Gemini AI for brand asset generation alongside a trust score engine with browser fingerprinting
  • Eliminated schema-related runtime errors by leveraging Ent ORM for a strictly type-safe PostgreSQL layer, enabling reliable large-scale brand data synchronization across distributed API sources

Go React Gemini PostgreSQL Railway Vercel Docker


Technical Assistant Intern · Vietcombank May 2025 – Jul 2025 · Hue, Vietnam

Maintained banking infrastructure reliability and drove digital adoption across branch operations over a 3-month engagement.

  • Maintained 99% uptime across 30+ networked branch systems by diagnosing hardware, network, and software faults in coordination with IT teams
  • Reduced monthly in-branch transactions by 15% by onboarding 100+ customers biweekly onto digital banking services including mobile app setup, online payments, and account management workflows

Linux Networking


Achievements

Recognition Details
GPA Honor Roll 3.77 / 4.0 · University of Cincinnati · Computer Engineering
AI Research Incoming researcher in Dr. Novak's lab · TruVox voice training platform
Production Deployment Commma — live at commma.dev · 100% availability over 30 days · 500+ downloads · 271K events load-tested
Production Deployment KatanaID — 2,300+ req/day · AI branding platform · 5-engineer team
Production Deployment Caphne — 400+ users · 1,700+ req/min · FPT University network
Platform Engineering Kiln-IDP — 45.5% cluster spend reduction · 11s p50 provisioning · 100% regression detection
LLM Cost Engineering 82.9% inference cost reduction · 98.1% accuracy · Bootstrapped 95% CI
Systems Performance 500ns P99 matching engine latency · 4.7M orders/sec · 8.8x throughput gain · AWS Fargate deployed
Full Test Coverage 245+ test cases · 100% branch coverage · 95% Docker build time reduction
Team Leadership Led 6-engineer team (Caphne) · 5-engineer team (KatanaID)

GitHub Analytics

Image Image
Image

Connect

Gmail LinkedIn GitHub Portfolio


The bottleneck is never the algorithm. It's the engineer who stops measuring.

Image

Pinned Loading

  1. draft-thinker draft-thinker Public

    Cost-aware LLM gateway in Go

    Go 1

  2. ferrox ferrox Public

    Lock-free SPSC ring buffer, zero-allocation hot path, UDP multicast, deterministic crash recovery via event sourcing.

    Rust 1

  3. commma-coding-progress-tracker commma-coding-progress-tracker Public

    Pace your Code.

    TypeScript 2

  4. kiln kiln Public

    Self-service Kubernetes platform with policy-gated provisioning and a tamper-evident audit trail.

    Go

  5. recap recap Public

    Local memory system for AI coding tools.

    Go

  6. suka712/caphne-studybuddy suka712/caphne-studybuddy Public

    ☕ Caphne.co - Tinder for study buddies - 300 buddies across HCM city!

    Vue 4 3