Aditya Gupta
Software Engineer building robust, scalable backend
systems and high-performance APIs.
Selected Work
Production-grade systems and open-source tooling.
Engineered from the ground up to survive unpredictable viral traffic surges. Moves beyond traditional CRUD boundaries by utilizing an event-driven architecture that decouples heavy analytics writes from the critical read-path, ensuring sub-millisecond latencies.
Event-Driven Analytics via Redis Streams
To prevent database locking during traffic spikes, click events are instantly published to Redis Streams. A background consumer asynchronously processes heavy IP-geolocation lookups and batch-inserts them into PostgreSQL.
High-Availability Cache Fallbacks
Extensively leverages Upstash Redis for sub-millisecond RAM reads with @CacheEvict invalidation. Implements robust circuit-breaker fallbacks to PostgreSQL if the Redis cluster drops, ensuring true high-availability.
Cross-Origin Security & Rate Limiting
Secured via stateless JWTs immune to XSS via HttpOnly, SameSite=Lax cookies. Employs Bucket4j for dynamic IP-based Rate Limiting to drop malicious requests in <1ms and mitigate DDoS attacks.
Automated Observability & Keep-Alive
Features a custom distributed Keep-Alive system via @Scheduled tasks to prevent serverless cold-starts. Fortified by Spring Boot Actuator for live health metrics and strictly tested via JUnit 5 & Mockito.
A battle-tested order processing API engineered to systematically solve four major industry failure scenarios: The Double Charge, The Race Condition (overselling), The Gateway Outage, and The Partial Failure.
Idempotency (The Double Charge)
Strictly enforces unique Idempotency-Key headers backed by PostgreSQL UNIQUE constraints. Safely rejects duplicate requests at the disk level to prevent double-charging impatient users during network retries.
Pessimistic Locking (The Race Condition)
Executes SELECT ... FOR UPDATE queries during inventory deduction to serialize concurrent requests, mathematically guaranteeing stock is never oversold during high-concurrency race conditions.
Circuit Breakers (The Gateway Outage)
Wraps external payment gateway calls with Resilience4j. Dynamically trips the circuit OPEN during outages to instantly "fail fast", protecting the Tomcat thread pool from cascading exhaustion.
State Machine & Reconciliation (Partial Failure)
Decouples local database transactions from external network calls. A background cron job sweeps for stuck PAYMENT_PENDING orders and self-heals the database state based on gateway truth.
A miniature, fully functional version control system built entirely in Go. Designed to demonstrate the core architectural concepts behind tools like Git, featuring content-addressable storage, tree-based histories, and a 3-way merge algorithm.
Content-Addressable Storage
Replicates Git's internal object model by hashing file contents (SHA-1) into immutable blobs. Builds a verifiable directed acyclic graph (DAG) of cryptographic hashes for complete history tracking.
Intelligent 3-Way Merge
Running a merge command automatically locates the lowest common ancestor between branches and attempts a clean 3-way merge of disjoint changes, closely mirroring real Git internals.
Conflict Resolution & Resets
Halts merges upon detecting conflicts, generates standard conflict markers (<<<<<<< HEAD), and implements a full reset subsystem (--soft, --mixed, --hard) to rewrite history.
Reactive Embedded Web GUI
Features a zero-dependency React frontend compiled and embedded directly into the Go binary via //go:embed. The UI reactively polls the filesystem to reflect CLI actions in real-time.
Other Notable Projects
Full-Stack Scheduling Platform
A Calendly clone featuring event-type management, configurable timezone support, and dynamic availability computation to prevent double-booking at the DB level.
Lightweight URL Shortening Microservice
A dependency-free microservice written in Go. Exposes a minimalistic REST API for URL shortening using MD5 hashing and in-memory O(1) lookups for fast redirects.
Intelligent Automotive Assistant
A Flask app combining an ML price-prediction model with a marketplace and messaging system. Supports multi-role authentication and an AI conversational assistant.
Coding Profiles & Stats
Quantifiable problem-solving experience.
LeetCode Rating (Knight)
Global Rank (out of 883k)
Problems Solved
Major Hackathons (Flipkart, Adobe)
Explore My Profiles
Expertise
Technologies and core concepts I work with.
Languages
Backend
Databases & Messaging
Core CS
Tools & Platforms
Education & Certifications
Foundational knowledge and continuous learning.
Certifications
Java Developer Certification
Infosys Springboard
Java SE 8 Features & Fundamentals
Infosys Springboard
Education
B.Tech — Computer Science & Engineering
Jaypee University of Engineering and Technology
2023 – 2027
Secondary & Higher Secondary
Shivbrat Singh Children Academy
2019 – 2023
Let's Connect
Open for new opportunities and collaborations.