Sole engineer · 2026
In-house customer engagement platform
Email, SMS, WhatsApp and Push with 17 provider integrations, replacing third-party SaaS. Duplicate-safe sends via row locks, leases and fencing tokens; a visual journey engine with delays, fork/join branches and versioning; DPDP-aligned PII encryption with key rotation.
How it worked
- Problem: third-party engagement SaaS was costly and kept customer data outside our control.
- Design: split into an admin API and a high-throughput ingestion service, with Celery workers and Redis for caching and frequency caps.
- Correctness: each send is claimed under a row lock with a lease and a fencing token, so retries and redeliveries reach the provider once and a stale worker cannot overwrite a newer result. Read the deep dive
- Data: moved the event store from ClickHouse to daily-partitioned PostgreSQL (pg_partman + pg_cron); PII encrypted per column with a blind index for lookups, data kept in ap-south-1. How the encryption works
Performance
PostgreSQL performance programme
Led a two-week clean-up of 48 slow production queries with a team of five: one ticket per query, ranked by total database time. 29 PRs fixed them and moved 35 dashboard pages to a read replica.
How it worked
- Method: ranked every slow query in a pgBadger report by total time (duration × runs), not worst case, and filed one ticket per query shape.
- Fixes: backward index scans, a Django
LIMIT 21 plan flip on JSONB, EXISTS instead of joins, batched aggregates, concurrent and partial indexes. - Result: all 48 closed in 29 PRs; I wrote or co-wrote 7, including the read-replica routing. Read the deep dive
Platform
HTMX modernisation
Moved quote and proposal journeys to Django + HTMX + Alpine.js across 4 tenants. With AI-assisted workflows, delivery went from 3 weeks to 1.5.
How it worked
- Problem: a decoupled frontend meant every journey change touched two codebases.
- Approach: server-rendered HTMX partials with Alpine.js for small client state, shared across 4 white-label tenants.
- Result: feature delivery went from 3 weeks to 1.5 weeks.
Infrastructure
Per-tenant AWS on CDK
Operate per-tenant stacks, onboarded 2 enterprise tenants, cut idle compute with scheduled ASG scaling. ChatOps Slack bot for VPN-less deploys.
How it worked
- Setup: one CDK stack per tenant: EC2/ASG behind ALB, RDS, ElastiCache, CloudFront and WAF.
- Cost: ASGs scale down 21:00 to 09:00 and track 50% CPU; AMI builds fall back from spot to on-demand.
- Ops: a Slack bot runs cdk diff/deploy without VPN access.
Integrations
Third-party and compliance integrations
Integrated 27 partner API packages end to end and shipped KYC flows across 21+ partners under a regulatory deadline. Vendor failover kept the product live through an upstream outage.
How it worked
- Pattern: a configuration-driven adapter layer maps each vendor payload to one internal schema.
- Resilience: vendor chaining fails over to the next provider; we migrated vendors overnight during an outage with zero quote disruption.
- Abuse: per-series throttling and scrape-detection alerts on public APIs.
Research · IEEE 2020
Computer-vision smart mirror
Raspberry Pi mirror with real-time edge facial recognition and a virtual assistant. Read the paper
Internal tooling · sole author
Catalogue crawler and record-matching tool
Two internal tools I wrote alone. A crawler builds one vehicle catalogue (makes, model generations, variants and specs) from public sources. A matcher maps partner data files of up to 50 MB onto that catalogue and sends uncertain matches to a review queue.
How it worked
- Problem: every partner names the same vehicle differently ("M & M" vs "Mahindra", the variant folded into the model name), so their files cannot be joined to one catalogue directly.
- Matching: canonical make keys, then model family and variant scored on name tokens, engine cc, fuel, seats, gearbox and model years; a contradicting fuel or cc caps the score.
- Review: confident, unambiguous matches (0.85 and up) map automatically; the uncertain band goes to a reviewer, and their decisions are reused when the same partner sends its next file. An optional LLM suggests a pick among the candidates for a person to confirm.
- Runs: uploads are processed by a background worker with a step-by-step log, so nobody waits on the page.