
Series
RaftKV
#1 in Projects Today
A replicated key-value store on a from-scratch Raft in Go: 1,000 randomized fault schedules and 180,000 operations with zero linearizability violations, a checker proven by injecting real consensus bugs, and the same code running live in your browser as WebAssembly.
- Stack:
- Go, Raft, WebAssembly, Porcupine, GitHub Actions
Systems & LLM Infrastructure
AI Agents & Applied ML
Full-Stack Web Apps
All Case Studies
Twelve projects by Archit Jain, from distributed systems and GPU kernels to shipped web apps, each written up as an honest case study: what was built, the decisions behind it, what broke, and what’s next.
5 EpisodesRaftKV
A replicated key-value store on a from-scratch Raft in Go: 1,000 randomized fault schedules and 180,000 operations with zero linearizability violations, a checker proven by injecting real consensus bugs, and the same code running live in your browser as WebAssembly.
Go · Raft · WebAssembly · Porcupine · GitHub Actions
5 Episodesmini-vLLM
A small vLLM: Qwen2 written from scratch in about 700 lines of PyTorch, a paged KV cache, continuous batching with preemption, and an OpenAI-compatible streaming server. Checked token-for-token against Hugging Face, and up to 1.55× Hugging Face's generate throughput on a T4.
Python · PyTorch · FastAPI · Hugging Face · CUDA
5 EpisodesTriton FlashAttention
FlashAttention-2 forward and backward in Triton, tuned for the free Kaggle T4: 1.55-1.92× faster forward and 1.64-1.83× faster forward+backward than PyTorch's memory-efficient SDPA, using under 60% of its peak extra memory. 79 of 79 tests pass on the GPU.
Python · Triton · PyTorch · CUDA · Kaggle
5 EpisodesAgentTrace
Record, replay and diff LLM agent runs. A from-scratch Myers diff over agent steps finds the first step where two runs part ways, and replay pins tool responses so a run can be re-checked offline. Works with LangGraph and as an MCP proxy, at 8.6 µs of overhead per recorded step.
Python · LangGraph · MCP · React · TypeScript · OpenTelemetry
5 EpisodesModelMux
One OpenAI-compatible API in front of many LLM providers. Every model name is a fallback chain, so a rate-limited or dead provider is skipped before your client sees a byte. Adds about 0.14 ms at the median and recovered every recoverable request across five fault scenarios.
Go · Prometheus · Docker · k6 · Ollama
5 EpisodesAlankar Jewellers
A real client's storefront and back office: every piece is priced live from India's official IBJA gold rate, with an itemised breakup of metal, making charge, stones, hallmarking and 3% GST. Next.js 16 on Cloudflare Workers and D1, a secured staff admin, and 496 passing tests.
Next.js · React · TypeScript · Cloudflare Workers · Cloudflare D1 · Drizzle ORM
5 EpisodesHardened MCP Servers
Three read-only MCP servers (SQLite, filesystem, web fetch) that treat every tool argument as hostile: SSRF checks that survive DNS rebinding, read-only SQL enforced by SQLite itself, symlink-safe file access, ReDoS timeouts and gzip-bomb caps. 167 tests at 94% statement coverage.
TypeScript · Node.js · MCP · SQLite · Zod · Vitest
5 EpisodesAI Resume Shortlisting Tool
An explainable resume-to-job-description matcher: TF-IDF + cosine similarity produces a weighted match score, and a skill-gap analysis tells the candidate exactly which skills are missing — served via Flask web UI, a CLI, and a Python API over one shared engine.
Python · Flask · scikit-learn · spaCy · PyMuPDF · Matplotlib
5 EpisodesSmartBlog AI
A MERN app that generates GPT-4 blog drafts and scores them with a from-scratch SEO engine (readability, keyword density, structure) behind full JWT auth. Phase-1 MVP: backend complete, frontend covers auth + AI generation.
React · Node.js · Express · MongoDB · OpenAI API · JWT
5 EpisodesInsurance Brokerage System
Next.js 15 + TypeScript insurance brokerage management system for the Nigerian market: clients, policies, broking slips, credit/debit notes, claims, and commissions, with a real brokerage/VAT/statutory-levy calculation engine over a ~44-table Drizzle/Turso schema.
Next.js · React · TypeScript · Drizzle ORM · Turso · Tailwind CSS
5 EpisodesSmartBin WBC
A dual-subsystem smart-bin project: a hardened Node/Express + SQLite QR-feedback dashboard, plus a Python OpenCV/TensorFlow ensemble that classifies waste as biodegradable vs non-biodegradable and drives an Arduino to sort it.
Python · OpenCV · TensorFlow · Node.js · Express · SQLite · Arduino
5 EpisodesAI Outfit Recommender
A Streamlit virtual stylist that recommends outfits from your own wardrobe photos using a transparent weighted-scoring engine over color harmony, weather, skin tone, and calendar events.
Python · Streamlit · scikit-learn · OpenCV · NumPy · Pandas