Senior Founding Engineer & Tech Lead @ Tvaram

I build backend and data systems where being nearly correct is not good enough.

Most of my time goes into PostgreSQL: its executor internals at ParadeDB, and the connection poolers in front of it with poolproof. At Tvaram I'm building Tasvam and MailTitan, both launching soon.

Before that I wrote Rust security tooling at the Prime Minister's Office, and shipped production systems on Solana, EVM, Stellar and Kaspa, winning five hackathons along the way.

Open Source

poolproof

Find out what breaks when you put a connection pooler in front of Postgres

Read how it was built

v0.1.1 released 4 Nov 2026 last push 20 Nov 2026

Poolers like PgBouncer, PgDog and Supavisor are meant to be invisible. In transaction mode they mostly are, until a SET leaks to another client, a temp table appears in someone else's session, or half a query string silently never runs. poolproof replays small scenarios against plain Postgres and then through the pooler, and reports every step where the two differ. Postgres is the oracle, so no scenario hardcodes expected output.

Results on Postgres 18.4
  • 698 pass
  • 132 silent failures
  • 95 errors and hangs
  • 136 documented limitations
PgBouncer
PgDog
PgCat
Odyssey
Supavisor

multi-statement-begin

A simple query that starts with BEGIN must run every statement in the string.

PgDog 0.1.62silent failure

step 1app simple: BEGIN; INSERT INTO pp_multi VALUES (1); COMMIT

Postgresok tags 0,1,0

PgDogok tags 0

poolproof 0.1.1 results, snapshot of 2026-11-04. Columns are the 50 scenarios, rows the 24 pooler versions and configurations. Select a cell to see what it checks. Full results with every trace
  • 50 scenarios across PgBouncer, PgDog, Supavisor, PgCat and Odyssey, multiple versions each, on Postgres 17 and 18, with a results site showing every step's trace and the version where a behaviour broke or got fixed
  • Scenarios built from 14 upstream issues in PgBouncer, PgDog and Supavisor, with the versions where each reproduces or stays fixed, e.g. PgDog acknowledging only the BEGIN of BEGIN; INSERT; COMMIT and never committing the insert (pgdog#1849), and Supavisor hanging on 4 pipelined requests in 9 of 10 runs (supavisor#1239)
  • poolproof scan reads pg_stat_statements exports, Postgres logs or .sql files, parses them with the real Postgres parser, and flags queries that break under transaction pooling, checked against what your pooler version actually did. SARIF output for code scanning
  • Runs real drivers (psycopg, pgx, node-postgres, pgjdbc) through each pooler; classifies failures as silent, error or hang, and separates documented limitations from bugs
  • Ships as signed binaries for Linux, macOS and Windows (SHA256SUMS + build attestation) and as a GitHub Action for CI

ParadeDB (YC S23)

Rust · PostgreSQL · Tantivy3 merged, 867 lines across 15 files

  • #4763merged

    JoinScan returned wrong rows on self-joins with duplicate sort keys. Traced it to late materialization in the optimizer and rewrote physical projection to bind columns by index instead of by name; caught a misbinding in my own fix during review and rebuilt it

    Read how it went

  • #4924merged

    Nested ExecutorRun panicked in fake_aminsertcleanup on PG16. Review found a second bug in my first fix, on the recursive DML path, so I replaced the depth counter with an RAII FrameGuard that gives every nesting level its own frame

    Read how it went

  • #4765merged

    Removed ctid from SearchIndexScore in favour of batched lookups, folding 5 duplicated ctid-lookup blocks into a single helper across 6 execution paths

  • #5093proposed

    Replace the resolve_physical_index heuristic with explicit column lineage tracking, the structural follow-up to #4763

Experience

June – Sept 2025 New Delhi

Prime Minister's Office (PMO), Government of India

Cybersecurity Research Intern

  • Wrote Tokio-based Rust tooling that automated vulnerability scanning across critical government infrastructure, cutting manual assessment time by over 60% with no downtime during rollout
  • Threat-modelling workflows I built were picked up by 2 internal teams
  • Details under NDA

2022 – 2026

B.Tech, Electronics Engineering

Rajiv Gandhi Institute of Petroleum Technology

Selected Projects

KaspaSwarm

Python · FastAPI · React · WebSockets · Kaspa SDK

Autonomous AI agents post, bid on, solve and settle tasks as real Kaspa transactions, with an LLM verifier checking results before payment. Auction, escrow, transport and LLM services behind a React dashboard; PyTest, CI and one-command Docker Compose.

Ethereum EVM Indexer

Rust · Tokio · Axum · SQLx · PostgreSQL

Ingests Ethereum blocks, transactions and logs into Postgres. Each block and the sync checkpoint commit in one transaction. Reorgs roll back to the fork point, up to 64 blocks, in one transaction; writes are idempotent, logs included. 11 integration tests against a real Postgres. Read API on Axum with cursor pagination.

Read how it went

Solana Stablecoin Standard

Rust · Anchor · Token-2022 · TypeScript

OpenZeppelin-style SDK for Solana stablecoins in three tiers: minimal, compliant (Transfer Hook blacklist, Permanent Delegate seizure) and private (ZK Confidential Transfers PoC). TypeScript SDK, 15-command CLI, Helius indexer, admin dashboard; 19/19 Anchor tests on Devnet.

More in my repositories, including the Kraken Market Data SDK, Solana Job Queue, Solana Webhook Processor, InjectiveQL, EVM Event Watchdog and VatanPay.

Hackathons

  • 2026 1st Prize, UK AI Agent Hackathon, Kaspa Track (KaspaSwarm) USD 1,000
  • 2026 3 prizes at Kaspathon (Top 5 Main Prize, Real-Time Data, Most Creative Use of Kaspa), 500+ global teams USD 1,200
  • 2025 1st place, Andromeda aOS Buildathon, 2,500+ global teams (A.R.I.A.) USD 2,500
  • 2025 Global Top-Tier Finalist, Kraken Forge Hackathon, Performance Optimization (kraken-rs)
  • 2024 Winner, Smart India Hackathon, NTRO Govt. of India, 50,000+ participants INR 100K
  • 2024 Winner, Graph-e-thon 2.0, Graphic Era TBI INR 175K

Skills

Languages
Rust, Go, TypeScript, Python, SQL, Solidity
Backend
Tokio, Axum, SQLx, Express, Bull, FastAPI, GraphQL, WebSockets, zero-copy deserialization
Data
PostgreSQL (executor internals, extensions, wire protocol, connection poolers), Redis
Chains
Solana (Anchor, Token-2022), EVM (Solidity, Hardhat), Stellar (Soroban), Kaspa
Infra
Docker Compose, GitHub Actions, AWS (EC2, S3), Prometheus/Grafana

Get in Touch

Email is the fastest way to reach me. Happy to talk backend architecture, PostgreSQL internals, email infrastructure, or open source.