Charging Platform Event Backbone
Kafka-backed services decoupling charger telemetry, session lifecycle, and payment validation from synchronous request paths.
Nine years of backend and platform engineering with founding-engineer ownership: from service boundaries and data models to Kubernetes, edge security, and on-call. Event-driven EV charging platforms, multi-tenant identity & payments, and enterprise banking connectors.
Backend services, protocol engines, identity, payments, and infrastructure that I designed, implemented, and kept running in production.
Engineering deep dives: the constraint, the design, the decisions I made and why, and what ran in production.
The platform manages chargers, sessions, tariffs, payments, roaming, and fleets for many tenants across multiple deployment environments. Charger telemetry and session events arrive in bursts tied to driver behaviour, and early request paths performed validation, persistence, and payment checks synchronously.
Under peak load that coupling produced slow responses on hot endpoints and pressure on database connections — and a slow payment dependency could stall an unrelated charging flow.
Owned service design and implementation for core backend modules in NestJS and TypeScript: authentication and RBAC, subscription billing, payments, and the event pipelines between charging, telemetry, and payment services. Worked hands-on through query tuning, caching, Kubernetes deployment, and production debugging, and set the code-review and reliability standards other engineers followed.
| Decision | Rationale | Trade-off accepted |
|---|---|---|
| Kafka between domains | Moved telemetry, session lifecycle, and payment state transitions off the synchronous HTTP path so bursts are absorbed by consumers instead of request threads. | Eventual consistency between services; consumers must be idempotent and handle redelivery. |
| Redis (Sentinel) on hot reads | Charger status and session lookups are read far more often than they change; caching them removes repeated database round-trips. | Cache invalidation on state change; Sentinel failover behaviour has to be tested, not assumed. |
| Index and query-plan work in PostgreSQL | Profiled high-traffic endpoints and reworked indexes and queries where plans degraded under volume. | Write amplification from additional indexes on high-write tables. |
| Horizontal scaling on EKS | Stateless services scaled by pod count behind ingress, so capacity follows traffic. | Stateful WebSocket connections (OCPP) need separate handling from stateless HTTP services. |
Utilities need to see transformer loading alongside aggregated EV charging demand and curtail charging before assets exceed thermal limits. That means reconciling high-frequency transformer readings with asynchronous charger telemetry, then issuing control commands to heterogeneous hardware — safely, and with a small team.
Led EVLM from scratch to production in roughly three months: service boundaries, Kafka pipelines, OCPP smart-charging profile schemas, data model, deployment on EKS, RBAC, and alert thresholds — while working through state-transition race conditions and charger protocol behaviour during integration.
The Account Management Service handles authentication, JWT issuance, social OAuth, RBAC, and tenant management for both the charging platform and EVLM. As services multiplied, how each one verified identity and enforced tenant isolation had drifted.
Built authentication and RBAC modules as a senior engineer, then inventoried roughly 25 repositories and Helm releases to map service ownership, trust boundaries, and documentation gaps, producing a prioritised hardening roadmap.
x-jwt-payload header; EVLM verified tokens in-process. Recommended a single documented model and header-spoofing protections for in-mesh traffic.tenant_id filtering instead. Recommended an RLS coverage assessment and consistent enforcement.A charging session's price can combine energy (kWh), time-of-use rates, idle fees, and load-based dimensions, and the resulting revenue is split between operators and site hosts. Charger connectivity drops, webhooks retry, and payments must never be double-captured or silently lost.
Built subscription billing and payment modules, and later led the redesign of payments and user management that enabled a 5× increase in concurrent sessions.
Chargers from multiple manufacturers, on different firmware versions, connect over long-lived WebSockets. Payloads deviate from the specification, connections drop mid-session, and devices reconnect with stale state.
Designed adapter boundaries that isolate core charging logic from vendor quirks, and worked through integration testing with physical chargers and an OCPP simulator.
Enterprise insurance and banking customers relied on SAP applications where concurrent edits and batch processing had to remain correct, and on Multi-Bank Connectivity to exchange data with 115+ banks.
Built and optimised features with JavaScript, Node.js, and SQL; owned production hotfixes and root-cause analyses for the connector; delivered across four customer implementations, including on-site with a Belgium-based credit insurer.
The working method behind the systems above — from first measurement to the on-call rotation.
Profiles, query plans, consumer lag, and error logs decide where effort goes — not intuition about which code looks slow.
Back-of-the-envelope throughput, storage, and connection estimates, plus an explicit list of what happens when each dependency is slow or down.
API schemas, event payloads, state transitions, and data ownership agreed before implementation, so teams can build in parallel.
Small changes through GitOps pipelines, backward-compatible schemas, and rollouts that can be undone without a data migration.
Dashboards, alerts, and runbooks ship with the feature. Incidents end with a blameless RCA and a tracked fix, not just a restart.
The layers underneath the product services — where most production incidents actually originate.
Kafka (KafkaJS) topics between charging, telemetry, payment, and notification services; idempotent consumers and redelivery-safe handlers.
Index and query-plan tuning, TypeORM data models, Redis Sentinel for HA caching, and OpenSearch mappings and pagination for search and logs.
AWS EKS and OCI, Helm charts, Argo CD sync and access issues, horizontal pod autoscaling limits, and multi-environment configuration.
Cloudflare DNS/CDN/WAF, Route 53, CloudFront and ACM, NLB vs ALB trade-offs, client-IP preservation, Nginx ingress, and mTLS termination.
RS256 JWTs, gateway vs in-process verification, Istio ingress authentication, RBAC, PostgreSQL RLS, and Firebase App Check for client apps.
Log search and alerting, production debugging across DNS, TLS, and messaging failures, root-cause analysis, and disaster-recovery planning.
Tools I have used in production, and the technical leadership work that sits around them.
Having also run product for the same platform, I scope designs against the business outcome they serve — which usually means building less, sooner, and more reliably.
Enterprise systems engineering at SAP Labs, then end-to-end ownership of a multi-tenant EV charging platform.
Core distributed-systems architecture at a smart electric vehicle charging technology company, with a mandate that also covered technical product direction. Led EVLM from scratch to production, redesigned payments and user management for 5× concurrent sessions, ran the platform security and trust-boundary review, and set architecture governance across squads.
Built core backend services in NestJS, TypeScript, PostgreSQL, Elasticsearch, and Kafka — authentication, RBAC, subscription billing, and event-driven charging and payment pipelines. Optimised Redis caching and queries on hot endpoints and scaled Kubernetes deployments on EKS to 500K+ daily transactions at 99.9% availability.
Enterprise SaaS for insurance and banking customers in JavaScript, Node.js, and SQL. Concurrency control that improved SAP PM module performance 5×; hotfixes and RCAs for Multi Bank Connectivity across 115+ banks; four customer implementations including on-site delivery in Belgium.
Computer science foundation in operating systems, algorithms, and databases. SAP Labs I-XP internship (chatbot proof of concept, Python email-listener adapter) and early data engineering at PiRuby (scraping automation over 5 GB of text and 1M metadata records).
Systems I designed and built solo, end to end — payments, enterprise data integration, and real-time services, for real users.
A complete event-registration application, comparable in scope to BookMyShow, for a dance studio's events: event discovery, day and time-slot selection, and online payment through a Razorpay integration. Designed and built solo, from data model and booking flow to payment integration.
Automated, end-to-end data pipelines from SAP systems into data-visualisation dashboards for Bangalore International Airport (BIAL), with no manual exports in the loop.
Multiple applications for family members starting new businesses, each scoped, built, and delivered end to end as a one-person engineering team.
A customised multiplayer card-game server engine built on NestJS and Socket.io.
A food-delivery web application built on the MERN stack to work through a microservices-style delivery lifecycle end to end.
I learned engineering discipline at SAP Labs, where correctness under concurrency mattered because the customers were banks and insurers.
At Elocity I took founding-engineer-style ownership of a multi-tenant EV charging platform: designing services, writing the code, running the infrastructure, and answering the page when it broke. That platform grew to 500K+ daily transactions, and I grew into setting its technical direction.
I also spent time running product for that same platform. It made me a better engineer: I now push hard on what actually needs to be built, and then build it to stay up.
Open to Staff and Principal engineering, platform, and founding-engineer roles — Bangalore or remote.