sanskar.

Selected work

Projects

A short list of the work I’d point a stranger at first: storage engines and distributed systems in Go, agent and LLM tooling in Python, and a payment platform. Most are open source.

A from-scratch LSM-tree in Go: skip-list memtable, Bloom-filtered mmap SSTables, three live-switchable compaction strategies, and Raft quorum replication with multi-shard rebalancing behind one API.

Go · LSM · Bloom filters · mmap · Raft

A transaction engine running 2PL and MVCC side by side: serializable snapshot isolation, ARIES recovery, wait-for-graph deadlock detection, and Raft replication, with a browser playground for reproducing isolation anomalies.

Go · 2PL · MVCC · SSI · Raft

A replicated key/value store on a from-scratch Raft: linearizable reads via ReadIndex (no log write), streaming snapshots, joint-consensus membership changes, and correctness checked with Porcupine linearizability testing.

Go · Raft · linearizability · gRPC

An HTTP reverse proxy and load balancer in pure stdlib Go: eight balancing algorithms (including peak-EWMA and bounded-load consistent hashing), circuit breaking, request hedging, SNI multi-cert TLS, and live config reload.

Go (stdlib) · L7 routing · circuit breaker

An Airflow-semantics workflow engine in pure Go, no Python or broker: YAML DAGs, 11 trigger rules, poke/reschedule sensors, cycle detection, hot reload via fsnotify, a dead-letter queue, and a React Flow UI.

Go · scheduling · React Flow · SQLite

A userspace M:N fiber scheduler with work-stealing across per-worker run queues, fiber-aware mutexes, channels, and wait groups, priority scheduling with anti-starvation aging, and a live scheduler dashboard.

Go · work-stealing · atomics · WebSocket

An inode-based filesystem (ext2-like) with ext3-style ordered journaling and crash recovery, a write-back buffer cache with CRC32 commit records, and a real-time SVG block-map visualizer plus a 20-command shell.

Go · journaling · crash recovery · React

A multi-provider agent orchestrator with autonomous loops, cron, parallel swarms, hard token budgets, and a crash-safe SQLite state store. Recently ported from a Python control plane to a native Go runtime. On PyPI + npm.

Go · agents · SQLite · multi-provider
PromptLine
Python

An LLM-evaluation and prompt-optimization pipeline: a calibrated LLM-as-judge, a statistical deploy gate (paired-bootstrap CI with Holm correction), and five optimizers including a from-scratch GEPA. On PyPI as promptline-opt.

Python · FastAPI · LLM-as-judge · GEPA
PayGate
Go

A multi-tenant payment platform in Go using double-entry ledgering, a transactional outbox, and saga orchestration with explicit per-entity state machines, three-way reconciliation, and dead-letter handling.

Go · PostgreSQL · Saga · Outbox

Browse everything, grouped by theme →