All Projects
A complete collection of my engineering work, ranging from high-performance systems to full-stack web applications.
A multi-process monolith for trimming clips. The Express API offloads heavy yt-dlp + FFmpeg work to BullMQ workers backed by Redis, streaming real-time progress over WebSockets.
- Multi-Process Monolith: API Server + Worker
- Real-Time Job Status via Socket.io
- BullMQ Worker System with Priority based queues
- Google OAuth Authentication
- Optimized background job orchestration using BullMQ and Redis, achieving a peak throughput of 800 jobs/sec and ensuring system stability during bursts of 4,000+ concurrent requests
A high-performance WebSocket group chat server written from scratch using raw TCP sockets. Designed to handle many concurrent connections with a thread-per-connection model.
- WebSocket framing and handshake implemented from protocol level
- Thread-per-connection architecture
- Broadcast messaging & load tested with 1000 concurrent clients
- Peak throughput of 17,000+ messages per second
An AI-powered educational chatbot for Indian history, featuring strict scope enforcement, context-aware continuations, custom stateless auth, and Redis-backed rate limiting.
- AI chatbot powered by Llama-3.1-8b
- Context-aware follow-ups using Redis-backed temporary memory
- Atomic Redis Fixed Window Counter Rate Limit Applied
- Rate Limited o allow only 10 chat messages per 60 seconds for LLM API Security and 5 authentication requests per 600 seconds to not allow spam requests across My Server
- Custom stateless authentication (JWT + Cookies)
A high-performance, thread-safe Token Bucket rate limiter implemented in C++. It enforces stable request rates while allowing short bursts, designed for concurrent access with per-client isolation.
- Token Bucket algorithm with thread-safe implementation
- Correctly limited 20,000 concurrent requests to only 14 successful passes
- Per-client isolation via BucketManager
- Automatic cleanup of inactive buckets
A fitness platform that generates personalized workout and diet recommendations using AI, with user authentication and an exercise library.
- AI-powered workout and diet plan generation
- JWT-based authentication and validation
- Responsive frontend and exercise library
- Custom diet and excercise plans based on your goals and preferences
- Persistance based rate limit using mongo db and express middleware applied
- Rate limited to 5 diet plans and 5 excercies plans per day for api security
A low-level WebSocket protocol implementation that performs RFC 6455 upgrade handshake and parses/encodes frames manually.
- RFC 6455 handshake implementation
- Manual frame encoding and decoding
- Opcode handling with ping/pong support
- Uses POSIX sockets and OpenSSL crypto
- Achieved a verified 41.1ms RTT Latency
A command-line utility built in C++ that performs lossless data compression on any file using the Huffman coding algorithm. Implements true bitwise I/O to pack data.
- Lossless compression using Huffman coding
- True bitwise I/O for real file size reduction
- Efficient for non compressed file types
A straightforward task manager web app built with a robust MERN stack, focusing on correctness, validation, and clean UX.
- Secure JWT-based authentication
- Full CRUD operations for tasks
- Schema validation using Zod
- Responsive UI with Tailwind CSS