Jun 2024 - Presentcurrent
Software Engineer at Zimpra
Building end-to-end products and auth systems for a logistics platform: event-driven services, real-time fleet tracking, geospatial planning and AI document automation.
Systems & architecture
- Built async messaging across services with BullMQ and RabbitMQ, using DLQs and exponential backoff.
- Built the multi-channel notification system end to end, from event triggers to queued delivery.
- Carved heavy PDF/CSV/Excel exports into a utility microservice with streaming output.
- Wrote a custom worker pool that keeps CPU-bound tasks off the event loop, protecting API latency under load.
- Instrumented NestJS services with OpenTelemetry, sending OTLP traces and metrics to New Relic and SigNoz.
- Load-tested ingestion and core APIs to find bottlenecks before release.
Access control & core services
- Owned Zimpra Core, a multi-tenant IAM with PBAC, org, branch and customer-scoped grants, and access limits.
- Centralised authorization in a shared package: typed permissions across 5 products, checked at build time.
- Secured token checks with EdDSA/JWKS, Redis-backed contexts and row-level scoping, failing closed if IAM is down.
- Implemented OAuth2 flows for SSO and third-party service access.
- Added audit logging for permission changes and sensitive admin actions.
- Built the customer-facing IAM app: org, branch, team and member management, roles, contracts and GSTIN/KYC.
- Built a staff console fronting IAM, tracking, orders and billing backends, with mandatory TOTP MFA.
Geospatial & lanes
- Built the geospatial foundation for bidding and indenting on PostGIS: GeoJSON regions, lanes and restrictions.
- Modelled boundaries down to sub-district level with spatial indexes, composing org regions by spatial union.
- Validated lanes against region boundaries and restrictions, flagging routes that run outside permitted areas.
Fleet & location tracking
- Designed Redis Streams ingestion for 50k concurrent trips: ~900 pings/s sustained and ~72M location rows a day.
- Architected FleetGuard for high-throughput SIM tracking: queued workers, partitioned Postgres, idempotent writes.
- Built FleetGuard's developer console: sandbox/live API keys, API playground, docs and webhook monitoring.
- Reduced SIM billing with just-in-time meter windows, pausing polling until a GPS fix goes 30 minutes stale.
- Developed the alert engine with org-level thresholds for overspeeding, no-signal and unloading-zone events.
- Rebuilt the GPS/SIM/Fastag distance engine with Valhalla routing, cutting overcount from 2.76× to 1.03× on replay.
Product engineering & AI
- Optimised recursive aggregation over a 15-level role hierarchy for real-time employee analytics.
- Shipped a 30+ language OCR pipeline: two-pass LLM extraction, SSE streaming and handwriting re-reads.
- Integrated LLMs through prompt chaining, including an Ollama voice assistant for automated form parsing.
- Codified engineering workflows into reusable AI agent skills for more consistent coding-agent output.
- Built carbon footprint calculators that compute vehicle emissions from weight and trip data.
- Developed KYC flows with document upload, management and storage.
Integrations
- Launched interactive bots across 3 platforms (Google Chat, Teams, Slack) for in-chat updates and actions.
- Integrated an enterprise customer's SAP via authorized inbound webhooks, auto-creating missing vehicles.
- NestJS
- PostgreSQL
- Redis
- Azure
- Docker
- Llama
- TypeScript
- GraphQL
- Python
- WebRTC
- OAuth2
- WebSocket
- React Native
- Message Queues
- Redis Streams
- BullMQ
- RabbitMQ
- PostGIS
- Valhalla
- AWS EKS
- OpenTelemetry
- New Relic
- SigNoz
- OCR
- GPS / SIM tracking
- Slack / Teams / Google Chat