Senior Founding Engineer & Tech Lead @ Tvaram

Backend and database engineer, working in and around Postgres.

Most of my open-source work is on PostgreSQL: executor fixes in ParadeDB, and poolproof, which tests the connection poolers in front of it. At Tvaram I built the backends for Tasvam and MailTitan, both launching soon.

Before that I wrote Rust security tooling at the Prime Minister's Office and built 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 through PgBouncer, PgDog, Supavisor, PgCat and Odyssey, several versions of each, on Postgres 17 and 18. The results site shows every step's trace and the version where a behaviour broke or was fixed.
  • Scenarios built from 14 upstream issues in PgBouncer, PgDog and Supavisor, each with the versions where it reproduces or stays fixed. PgDog answers only the BEGIN of BEGIN; INSERT; COMMIT and never commits the insert if the client disconnects (pgdog#1849). Supavisor hangs 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 the 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. Failures are classed as silent, error or hang, and documented limitations are kept apart from bugs.
  • Ships as signed binaries for Linux, macOS and Windows (SHA256SUMS and 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 when a self-join sorted on a column name both sides share. Late materialization was deduplicating columns by name, so I rewrote physical projection to bind them by index. A second case run during review showed my fix misbinding, and I rebuilt it.

    Read how it went

  • #4924merged

    A 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 its 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 one helper used by 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.