Skip to content
Back to writing

AI and Software Engineering

Writing and projects around LLM serving, agents, embeddings, vector search, recommendation systems, route optimization, and software engineering workflows.

Writing

LLM Inference Architecture

How a request moves through a production LLM serving stack: batching, KV cache, prefill and decode, routing, and what happens when a worker dies.

How Can an LLM Have Hundreds of Billions of Parameters Without Using All of Them?

Mixture of Experts routes each token through a few expert blocks, so total capacity and active compute stop being the same number.

Why Good AI Models Still Fail in Production

The model is one component; feature pipelines, thresholds, fallbacks, and monitoring decide whether an AI product works.

How Can a Small LLM Make a Bigger One Faster?

Speculative decoding lets a small model draft tokens and a larger model verify them in a block, cutting serial work when the draft is good enough.

How Instagram's Algorithm Uses Ragebait to Predict User Behavior

How recommendation systems learn from reactions, why ragebait works, and what engagement signals really mean.

80/20 Of The Week: Route Optimization

Why real routing is more than shortest paths once vehicles, capacity, time windows, and delays enter the picture.

80/20 Of The Week: Vector Databases

Why vector databases matter for semantic search, recommendations, RAG, and similarity matching.

80/20 Of The Week: How AI Gives Meaning To Words

How embeddings turn words and sentences into something computers can compare mathematically.

80/20 Of The Week: Basic MLs (Linear Regression and GBDT)

The bread-and-butter of prediction: Linear Regression and Gradient Boosted Decision Trees (GBDT).

Projects

Research