New Delhi, India · Best Performer @ Octro · Open to Backend Roles

Garv Aggarwal

Backend engineer building distributed Java and Go systems in production. On-call for 54 services. Exploring LLMs & AI systems.

0Year Exp.
0Features
0Prod. Incidents
0Microservices
Octro Inc — Member of Technical Staff Mar 2025 – Present
Shipped

Cross-provider Account Migration with Atomic Merge

Designed and shipped a multi-provider identity linking system (Facebook, Apple Sign-In) so users can migrate existing accounts to social login without data loss. Owns the full flow: server-side time-bound token generation, email verification, and an atomic merge transaction across 3 microservices — with guards for concurrent same-user requests, partial-failure rollback, and TTL-based token invalidation.

JavaMongoDB3 servicesAtomic writesIdempotency
Shipped

Time-bound Reward Lifecycle System

Built a reward system where each reward carries its own independent TTL — expiry is per-reward, not per-session, so users keep what they've earned across logouts. Integrated with an external CRM for scheduled delivery triggers. Designed the cross-service data contract and maintained reward balance integrity across account merge and deletion flows spanning 3 services.

JavaSpringTTLCRM integration3 services
Shipped

Async Push Notification Pipeline — Amazon SQS

Re-architected mobile push notification delivery from a blocking HTTP call on the login critical path to a fully async SQS pipeline — decoupling notification throughput from login latency. Built iOS/Android platform routing, per-platform delivery rate limits backed by ZooKeeper runtime config, and a dead-letter queue with CloudWatch alerting for failed deliveries.

Amazon SQSZooKeeperAsyncDLQCloudWatch
Shipped

Polyglot Compute Layer — Java ↔ TypeScript Lambda

Built a compute layer bridging the Java microservices and versioned TypeScript AWS Lambda functions — Java resolves the correct Lambda version from ZooKeeper runtime config and invokes it asynchronously via CompletableFuture, with the computation logic itself authored in TypeScript. Recognized as Best Performer for this and related backend work.

TypeScriptAWS LambdaJavaCompletableFutureAsync
Shipped

Real-time Multiplayer Session Server

Built the backend for a real-time multiplayer session serving concurrent player connections — concurrent state management, per-session configuration, and a live leaderboard broadcast to all connected clients over WebSocket every 30 seconds. Maintained per-session state isolation under concurrent load.

JavaRedisWebSocketsReal-timeConcurrent sessions
Shipped

Distributed Runtime Configuration — ZooKeeper

Made services configurable through the platform's ZooKeeper-backed runtime config, propagating feature flags and operational parameters to all 54 service instances within seconds, with no redeployment. Removed the deploy-to-change cycle for operational settings — enabling zero-downtime staged rollouts, kill-switches, and per-environment overrides.

ZooKeeperJava54 instancesZero-downtimeFeature flags
Resolved

Distributed Lock Thread-Affinity Incident

Diagnosed a production incident where IllegalMonitorStateException on distributed lock release was causing 5xx bursts across 3 services. Root cause: lock acquired on thread A, unlock attempted on thread B after an async context switch — violating the lock library's thread-affinity contract. Fixed the unlock call-site and added thread-ID correlation to distributed tracing.

Distributed locksRedisAsync threadingIncident response
Resolved

WebSocket Session Race + Reward Pipeline NPE

Resolved two concurrent production incidents: (1) a race in WebSocket reconnect handling where non-atomic session state transitions caused duplicate authorization and silent message drops; (2) a NullPointerException in the reward delivery pipeline that blocked reward delivery for all active users until patched.

WebSocketsJavaRace conditionIncident response
Resolved

N+1 Query Elimination — Login Path & Polling Service

Identified and fixed two N+1 patterns: a polling service issuing individual Redis round-trips per user on every cycle (replaced with a single batched read), and MongoDB fan-out on the login critical path (batched into one query). Also corrected Maven dependency scoping, halving the deployed artifact size.

PerformanceMongoDBRedisQuery batchingMaven

Code Execution Engine

Active

LeetCode-style backend in Go — worker pool with buffered channels, ephemeral Docker containers per submission with resource limits and context timeouts, SSE streaming for real-time output.

3.2s → 450ms500+ concurrent
GoDocker SDKRedis Pub/SubSSEGoroutines
View on GitHub →

HTTP Load Balancer

Active

Production-style Go load balancer with multiple routing strategies, runtime config reload without dropping traffic via fsnotify + sync.RWMutex, and active health checks with failure isolation.

Zero-downtime reload
Gosync.RWMutexfsnotifyYAML
View on GitHub →
JavaGoSpring BootMongoDBRedisRabbitMQZooKeeperAmazon SQSWebSocketsDockerAWSAvro / BIKafkaKubernetesGrafanaPrometheusTempoLinuxJavaScriptTypeScript

Open to backend engineering roles in distributed systems, platform engineering, or AI/LLM infrastructure.