Utkarsh Mehrotra
Chief Engineer, Lending Platform · Samsung Electronics
I build financially correct distributed systems: payments, fraud detection and lending infrastructure that stay correct under retries, outages and scale.
About
I lead backend architecture for Samsung's device-financing lending platform, live in Thailand, Indonesia, the Philippines and India. The work is real-time payment reconciliation, loan-lifecycle correctness and making each new market a configuration change rather than a code fork.
Across Samsung, Western Union and Cisco, the thread is the same: systems where a wrong answer costs money. That means fraud scoring that must act before funds settle, and the entitlement and pricing platforms that quoting, invoicing and finance depend on. The hard part is rarely throughput. It's exactly-once effects over unreliable payment rails, auditability, and keeping guarantees intact through partial failure, and that's what I write about below.
Writing
Long-form design write-ups: requirements, decisions, failure modes and what I'd change.
Architecting a 100M Events/Day Fraud Detection Pipeline: Tradeoffs & Lessons
Moving fraud detection from batch to sub-second streaming: entity-keyed partitioning, why Flink and Spark split the work, the deliberate exactly-once tradeoff, and a consumer-rebalancing storm nobody planned for.
Building a Lending Platform Across Four Markets: Correctness at Scale
Why the hardest problems in multi-market lending were consistency and auditability, not throughput: versioned market configs, the transactional outbox, sagas plus event sourcing, and the delayed-settlement cascade.
What Breaks at 50K Events/sec: Scaling a Fraud Pipeline 40×
Take the 100M/day pipeline (~1,150 events/sec) and push it to tier-1 bank throughput. Which components fail first, at which inflection point, and what replaces each one: tiered state, a feature store, graph scoring and CRDT velocity counters.
Experience
Chief Engineer
- Set the technical direction for Samsung's lending platform across 4 markets (Thailand, Indonesia, Philippines, India). I own the architecture roadmap, run design reviews across the backend teams, and make the cross-team calls on service boundaries, data ownership and event-streaming topology.
- Architected the real-time payment reconciliation engine that matches every repayment against loan records with exactly-once semantics. It replaced manual reconciliation and cut settlement turnaround from T+2 to near real-time in every market.
- Designed an idempotent loan-lifecycle state machine that stays correct under retries, duplicate events and partial failures from third-party payment rails. Loan state is strongly consistent, while reporting runs on eventual consistency.
- Made market onboarding config-driven, so launching a new market takes days instead of weeks with no core code changes.
- Mentor senior engineers on distributed-systems design, and set the platform-wide standards for idempotency, failure handling and reconciliation audits.
Lead Software Engineer
- Led the redesign of fraud detection from batch to a streaming pipeline (Kafka, Flink, Spark Streaming) handling 100M+ events/day at sub-second latency. This moved intervention ahead of settlement and shrank the exposure window from minutes to under a second.
- Decoupled fraud rules from the deploy cycle, so analysts could ship new fraud rules without waiting for an engineering release.
Software Engineer 3 · Software Engineer 2
- Led the Neo4j → Amazon Neptune migration with full Gremlin traversal parity: ~$150K/year saved, zero downtime and no query-performance regression.
- Led the monolith → microservices migration (Spring Boot, AWS ECS) of the entitlement and order platform that feeds Cisco's quoting, invoicing and finance systems.
- Built the observability stack (ELK, Prometheus, Grafana) that cut MTTR by 50%+ on a platform used by hundreds of engineering teams.
- Set platform-wide standards: canonical API contracts across 10+ enterprise systems, an RBAC framework adopted by 300+ teams, and the migration playbooks the team adopted. I also mentored the team's junior engineers.
Independent Work
Fintech systems I build outside work, each focused on one hard correctness problem and backed by tests, measurements and a written design.
Deterministic backtesting engine · Indian equities & F&O
Strategies come in as a closed JSON spec, never as code, and run with strict signal@t → fill@t+1 timing, point-in-time data, real transaction costs, margin checks and option-chain fills. The same strategy, data and engine version always produce byte-identical results, covered by 500+ tests.
Bitemporal loan servicing engine In progress
Tackles the hardest problem in lending software: a payment dated 3 March that arrives on 20 March. The design event-sources loans on two time axes (when it happened, when we learned it), so backdated payments, reversals and rate changes recompute interest, fees and delinquency deterministically, and any past view stays reproducible for audit.
High-contention double-entry ledger In progress
Targets strictly serializable transfers when a few hot accounts take most of the traffic. The design uses single-writer partitions with batched commit instead of row locks, and exactly-once transfers under client retries. Verification is planned through deterministic simulation testing (seeded crashes, torn writes, reordering) and checked histories.
Education
Birla Institute of Technology and Science, Pilani
MEng, Computer Science · 2018–2020
Graduate Teaching Assistant: Data Structures & Algorithms (200+ students), Information Retrieval (50+ students)
Dr. APJ Abdul Kalam Technical University, Lucknow
BTech, Computer Science · 2013–2017