lower p99 latency from routing repeat prompts to the replica that already holds their KV cache.
p99 latency, indexed · before = 100
I build systems where milliseconds matter: search infrastructure, LLM inference routing, and research on the models themselves.
lower p99 latency from routing repeat prompts to the replica that already holds their KV cache.
p99 latency, indexed · before = 100
tolerance lookups, down from multi-second LLM calls.
log scale
navigation error, and −25% drift, from C++ Kalman IMU/odometry fusion.
before after · indexed
UC Davis students on a real-time lost-and-found platform I shipped.
one dot = one student
Cache-Aware Inference Router for vLLM Fleets. Scroll through how it works.
LLM serving engines like vLLM cache the attention state (the KV cache) for prompts they have already seen. A load balancer that ignores this spreads repeat prompts across every replica, so each one recomputes the same prefix from scratch.
I wrote a C++20 router that keeps a prefix tree of which replica holds which prompt prefix, and pins each request to the replica that already has its KV cache. Matching costs under 0.9 ms per request, behind an OpenAI-compatible API.
Tail latency drops because repeat prompts skip recomputation. The fleet-wide cache hit rate rose to 79%, and p99 latency fell 43%.
A router must never change what the model says. I checked 50K generations token-for-token against direct-to-engine output, under load and with an injected replica failure. Zero divergence.
Production search, applied AI in manufacturing, robotics, and a campus platform.
Software Engineering Intern
Index serving for Shopify search: the low-latency layer every query passes through.
AI Systems Researcher
Industry collaboration with a major CNC machine-tool manufacturer
Software Developer
Software Engineering Intern
Venture-backed robotics startup · $2M raised · $3M+ pre-orders
Data Science Research Intern
Does diversity survive when one language model teaches another?
I fine-tuned Llama 3.2 with LoRA in MLX to test whether a teacher model’s output diversity carries over to a student trained on its synthetic data. I built automated noun-probe and creativity evaluation harnesses and ran them across 1,250 generations to measure how much diversity each pipeline kept.
of the diversity gains survived distillation
top-5 repetition after outputs collapsed
generations across the eval harnesses
Low-latency engines, graph algorithms, and quant research.
Cancel latency as the book grows (ns, lower is better)
| Operation | Engine | std::map | Speedup |
|---|---|---|---|
| cancel | 57 ns | 350 ns | 6.1× |
| add (resting) | 48 ns | 67 ns | 1.4× |
| realistic mix | 43 ns | 59 ns | 1.4× |
A price-time-priority matching engine in C++20, built around the operations that dominate real order flow: cancels and replaces.
A wheelchair-accessible route planner over a 19.7K-node graph that combines footpaths, transit, and elevation, then explains each route in plain language.
A backtesting and linear-programming platform for systematic equities, built to reduce overfitting and speed up strategy evaluation. Drag the caps and the optimizer re-solves for the best allocation that still respects every limit.
What I reach for, and where I’ve used it.
Python, SQL, C/C++ (C++17/20), Java, TypeScript, JavaScript, C#, Go, R, Bash/Shell, MATLAB, Ruby
PyTorch, Hugging Face, Transformers, LoRA/PEFT, MLX, RAG, LangChain, SBERT, vLLM, OpenCV, Time-Series
Flask, FastAPI, REST APIs, Node.js, Next.js, React, Apache Kafka, NumPy, Pandas, scikit-learn, XGBoost, ROS
Docker, Kubernetes, AWS, GCP, PostgreSQL, Supabase, MongoDB, Redis, ChromaDB, Git, CI/CD, Linux/Unix
B.S. in Computer Science · Exp. Dec 2027
Coursework Data Structures & Algorithms, Computer Architecture, Databases, Linear Algebra, Probability & Statistics
I started writing code at eleven. Now I spend my time where theory meets the metal: training language models, taking latency out of hot paths, and shipping software people actually use.
I study Computer Science at UC Davis. My work so far spans robotics sensor fusion, a campus platform with hundreds of users, applied AI for manufacturing, and production search. What ties it together is that I like measuring things, and I like it most when the numbers move in the right direction.
Away from the keyboard I play classical piano (Certificate of Merit, Level 10), mostly Chopin and Rachmaninoff. Try the keys.
B.S. Computer Science, UC Davis · Exp. Dec 2027
Core stack C++17/20 · Python · SQL · TypeScript · PyTorch · vLLM · Docker · Kubernetes · PostgreSQL