What I shipped
- Architected a high-throughput ClickHouse & dbt ELT platform across 100+ tenants, replacing legacy Python ETLs — per-tenant runs that queued up to 5 hours now finish in 15 minutes (20×), the full batch in ~2 hours, and analytical query latency fell from 15+ seconds to 1–2 seconds.
- Decommissioned heavy db.m7g.8xlarge RDS OLAP instances by provisioning ClickHouse on AWS ECS via AWS CDK with EC2 capacity providers — database costs down 85% (~$25,000/year) and storage down 75% (1 TB → ~200 GB) via columnar compression.
- Architected a Postgres → ClickHouse CDC pipeline (PeerDB on ECS Fargate) across 4 microservices, replacing CPU autoscaling with step-scaling on custom CloudWatch metrics to keep replication-slot lag under 1 GB across multi-tenant mirrors.
- Engineered an idempotent upsert migration framework with a custom Python query-translation engine that rewrites legacy SQL to ClickHouse SQL — seamless cutovers for 100+ Superset client dashboards.
- Developed custom Model Context Protocol (MCP) servers for Apache Superset and ClickHouse, accelerating agentic AI workflows for automated SQL translation, live query execution, and system debugging.
- Patched Apache Superset internally to cancel ClickHouse queries from SQL Lab and to upload CSVs straight into ClickHouse.
- Built an LLM agent that seeds realistic demo data into a client's CRM pipeline: plan → approve → run with a durable write ledger, crash-safe resume, and a GET-only judge that scores the live result — a real run verified 66/66 leads and 17 users with zero duplicates.
- Designed a conversational pipeline-edit agent and its 14-endpoint backend API, where every edit is a dry-run-first import of the stored manifest, serialised by Postgres advisory locks, with a guard that stops edits from stranding live leads.