backend engineer · morphic · nainital, india
N i r m a l K i r o l a .
billing systems generation pipelines elastic rendering typescript postgresql gcp
I build the backend of Morphic , an AI creative studio —
and this page is rendered by a small simulation of that job: workers pick generations off a queue,
providers render them, credits get charged, and failures get inspected and repaired.
Click any finished card to break one.
github ·
linkedin ·
[email protected]
30+ generative models integrated
~10× faster long renders
−50% bulk cost via batch lane
58s→3s burst charge p95
Systems at Morphic 2024 → now
Each card is a render job — click a finished one and watch the crew diagnose and repair it.
billing-and-credits [stripe · credits]
Credit system built from scratch — usage tracking, credit packs, auto-recharge
Full Stripe stack — seat billing, pause/resume, upgrades/downgrades, coupons, automatic tax, dunning
Enterprise and education plan catalogs; the credits HUD on this page is a homage
generation-pipeline [30+ models]
Async-task orchestration with timeout and cancellation semantics , webhook-driven provider callbacks
Rules-based routing engine with dynamic pricing and provider fallback chains — the repair mechanic on this page
LoRA training platform with versioning across architectures
elastic-video-rendering [~10× faster]
Heavy renders moved off shared worker pools onto per-task Cloud Run jobs
Parallel chunked rendering — long exports finish in minutes instead of timing out
batch-generation-lane [−50% cost]
Provider-agnostic lane over the OpenAI Batch API for bulk workflow runs
Split pricing with premium refunds on delivery; queued + wake copilot turns
Scroll this page fast and the HUD batches your jobs at half price
batched-credit-settlement [p95 58s→3s]
Serial per-org credit locks replaced with batched settlement
Diagnosed from production traces, validated at 10,000-task load
copilot-subagent-architecture [in production]
The AI copilot's generation tools re-architected into sub-agents with model-specific tools per modality
Also shipped: org multi-tenancy with live data migration, the public API platform, realtime comments, the bulk-download pipeline
Planify Capital fintech · 2023 → 2024 · backend lead
payments-and-subscriptions [3 payment rails]
Stock purchases via Billdesk, Paytm and ICICI API Banking ; premium subscriptions; partner payment links
Admin dashboards for leads, refunds, feedback and subscriptions
buy-sell-trading-platform [flagship]
Bids on unlisted stock: bid management and fulfillment , portfolio, tradebook, sharebook
Investor wallets with withdrawals and cashbacks; channel-partner incentives
kyc-and-investor-services [19 KYC types]
KYC workflows across 19 verification types ; research report sections
Daily stock & news notifications; embeddable stock-performance widgets
Lenskart e-commerce ML · 2021 → 2023
personalized-recommendations [realtime]
Implicit matrix factorization, Prod2Vec + Meta-Prod2Vec, image similarity
Re-ranked category pages, cold-start handling, realtime personalization
eyewear-computer-vision [selfie → fit]
Face-width + frame-size prediction (Face Mesh + XGBoost ); pupil distance for bifocals (LCNN )
A photo replaces an in-store fitting
search-by-look [visual search]
Upload a photo of someone wearing frames and find them — detection, embeddings, similarity
Multisearch refinement by brand, color, material, size; auto color swatches for the catalog
Route log
2024 → now Software Engineer · Morphic Billing, generation infrastructure, multi-tenancy, the AI copilot.
2023 → 2024 Software Engineer · Planify Capital Led the backend team — payments, subscriptions, KYC, the trading platform.
2021 → 2023 Data Scientist I / MLE · Lenskart Recommender systems + computer vision for eyewear fitting and search.
2021 Associate Developer · Cogitate Insurance digitalization in .NET — frontend, backend, chatbots.
2020 → 2021 R&D Engineer, DL · Sonatic AI LSTM search ranking, email intent, personality models. The trailhead.
Stack
backend typescript · node · python · postgresql · redis · typeorm · stripe
infra gcp · cloud run · pubsub · gcs · temporal · ffmpeg
ai + data llm agents · generative media · recommenders · computer vision · xgboost
education [2017 — 2021]
B.Tech, Computer Science · Birla Institute of Applied Sciences
Published: "Intelligent Data-Analytic Approach for Restaurant Recommendation"
Deep Learning Specialization · Neural Networks and DL · Structuring ML Projects · Data Viz with Python
backend by day, mountains on weekends — the crew below is off-shift at the rest station.
curious? click a worker. terminally curious? window.__pipeline in the console.