Senior backend engineer with 5+ years building multi-tenant B2B SaaS, and most recently enterprise RAG: hybrid retrieval, citation-grounded answers, streamed in real time. I own the async pipelines, realtime delivery and tenant isolation that hold up when traffic climbs and the SLA doesn't move.
Python · Django · FastAPI · Celery · Redis · PostgreSQL/pgvector · RAG · AWS · Azure
Conversational search over thousands of pages of OEM manuals, with page-level citations and per-unit data isolation.
91 endpoints~680 tests3,800+ chunks Diya Interactive · 2023–nowread case study → Real-time opsScheduling, attendance and compliance for security officers, live across web and mobile.
11 Django apps1,200+ tests~9s → 0.06s Diya Interactive · 2023–nowread case study → 10,000+ usersRe-architected a Django app onto Docker and Azure VMSS as it grew past 10k users.
10k+ usersAzure VMSSdemand-based scaling KNYSYS, LLC · 2021–2023read case study → Stack modernisationRebuilt chat as a versioned REST API and upgraded Django 2.2 → 4.2, with CI on every push.
Django 2.2 → 4.2v2 chat APICI on every push Diya Interactive · 2023–nowread case study → Multimodal AITook a mock to a working video → commentary pipeline with burned-in subtitles.
Gemini Flash / ProFFmpeg~2.5 weeks Diya Interactive · 2023–nowread case study → Multi-tenantTurned Open edX into a multi-tenant SaaS with per-organisation branding and OTP login.
multi-tenantOTP authself-serve onboarding KNYSYS, LLC · 2021–2023read case study →Code generated by AI and shipped without verification. Here's what was actually broken, and what it took to make it fast and correct.
Re-checked every rule against the database inside a per-date loop. Hoisted, prefetched and batched it, with output proven identical.
8,879 → 53 queries12.7s → 311ms3 latent bugs fixed Security workforce SaaSread write-up → correctness · 18/18 checksChecked the wrong scope, counted cancellations, and let simultaneous bookings slip past an account's monthly limit.
wrong scope → account-widerace → serializedverified on production data Online counselling platformread write-up →Hybrid retrieval (pgvector + full-text, RRF), agentic retrieval, query rewriting, citation grounding, Docling/OCR ingestion and retrieval evals.
seen in → RAG platformMulti-tenant REST with DRF and FastAPI, tenant isolation, JWT/OAuth and Microsoft Entra ID SSO, versioned APIs.
seen in → RAG platform · workforce SaaSCelery, Celery Beat and Redis for polling, bulk generation and long-running jobs, kept off the request path.
seen in → workforce SaaSSSE with Last-Event-ID replay, Redis Pub/Sub and Firebase push, with deduplicated fan-out.
seen in → workforce SaaSQuery profiling, prefetching, bulk writes, MySQL partitioning, caching, and cutting paid third-party API calls.
seen in → 41× schedule fix · workforce SaaSAWS Elastic Beanstalk, Azure VMs and Container Registry, Docker, GitHub Actions, CloudWatch, test suites and production incident response.
seen in → workforce SaaS · RAG platformRemote, full-time or contract. I can join as a full-time hire through an employer of record or work as an independent contractor. Based in Karachi (UTC+5), with full UK and EU overlap and partial US overlap.
Prefer to talk? → Book a 20-min intro call