Work

Projects

Things I've built from scratch, each one solving a specific problem with deliberate trade-offs.

Throttle

  • A standalone rate-limiting service in Go with three algorithms (Token Bucket, Sliding Window and Fixed Window), letting any application rate limit through a single API call.
  • Redis Lua scripts make rate-limit checks atomic, preventing race conditions when multiple servers check the same limit at once.
  • Deployed to Kubernetes with Prometheus and Grafana driving KEDA autoscaling on p95 latency. Load testing surfaced a Postgres connection-pool bug causing failures during scale-up; fixing it raised throughput 12%.
GoRedisLuaPostgreSQLDockerKubernetesPrometheusGrafana

Haqq

  • A RAG-based legal rights advisor for India. Users describe a situation in plain language and get their rights, remedies and law citations across eight central Indian acts.
  • Hybrid retrieval combines vector similarity search with keyword matching over 1,420 ingested law sections, and responses stream back over server-sent events.
  • In-memory caching skips redundant LLM calls, and a confidence scoring system falls back gracefully when retrieval scores are too low.
PythonFastAPIPostgreSQLpgvectorReactDocker

CodeBench

  • A code judge that checks whether you understand your own solution, not just whether the output matches.
  • Python submissions run in a fresh Docker container per test case: no network, 128 MB of memory, read-only filesystem, hard time limit. A 202-plus-polling architecture over Sidekiq keeps the web process non-blocking.
  • On acceptance, Gemini generates three follow-up questions specific to the submitted code and grades the answers.
Ruby on RailsReactSidekiqRedisPostgreSQLDockerLLMs