projects

Distributed systems, databases, and the stuff in between.

2026 · go · WIP

crawlr

Distributed web crawler in Go targetting 1B pages.

Custom unbounded queue with per-host FIFO queues and a min-heap keyed on a 'ready' timestamp for scheduling URLs. Lock free observability with atomic counters, 5s time series sampling, and p50/95/99 latency histograms(fetch/parse/total).

  • › Currently peak ~3000 pages/minute on 10,000-page run · 82% fetch/parse successful
roadmap
  • per-domain semaphore
  • robots.txt politeness
  • fetch→parse→extract→dedup pipeline
  • priority frontier
  • Redis/disk-backed persistent frontier
  • distributed frontier (consistent hashing, Bloom-filter dedup)
2026 · go

Exec0

Remote code execution service for running untrusted code.

Isolate + cgroup for sandboxing and per-submission resource limits clamped to maxima. Asynq/Redis job queue with worker pool for executing code asynchronously.

  • › 63 executions/second under load testing with 40 workers on 10 cores machine.
go postgres redis asynq isolate
2026 · terraform

alchemx-y

A distributed inference mesh on GCP, provisioned end-to-end with Terraform.

Three-VM iii worker mesh behind one public hop. Custom-mode VPC with default-deny ingress, no-external-IP workers reaching out via Cloud NAT, IAP-only SSH, and per-VM systemd provisioning from metadata startup scripts.

  • › Default-deny VPC · 3 firewall rules (api, internal, IAP-SSH) · hub port :49134 never leaves the subnet
  • › Gateway pinned to static internal IP so workers hit a fixed III_URL regardless of boot order
2025 · Typescript · live

CodeSpardha

In-house contest system for NIT Kurukshetra.

A full contest platform built with Elysia + Bun + Drizzle + PostgreSQL. Every submission is compiled and run through Exec0, giving isolated, resource-limited execution for hundreds of concurrent contestants.

  • › Organised weekly contest at our department with 100+ participants
bun elysia postgres drizzle
2025 · shell

Distributed Computing Cluster

Distributed computing cluster of 24 nodes (23 compute + 1 master) for parallel processing.

All nodes running Ubuntu 24, connected through a passwordless SSH mesh, OpenMPI for inter-node communication, and an NFS-shared build.

  • › 3-node run · HPL 30k×30k (NB=192): 49→132.7 GFLOPS, 366.8s→135.6s — 2.7×, ~90% parallel efficiency · Monte Carlo π (100B points): 339.7s→163.8s — 2.07×, identical accuracy
bash python openmpi nfs