~/krotrn.dev~/krotrn
HomeProjectsStatsContact
Resume

Crafting resilient backend systems & distributed pipelines.

Hi, I'm Karan Kumar Sah. I build backend pipelines, solve physical constraint problems, and design high-throughput system services.

Operations Panel

karan-production-cluster

Cluster Traffic148 req/s
CLUSTER LOAD CPU TELEMETRYBALANCED STATE
NODE_STATUS: ALL_SYSTEMS_NOMINAL
Contributions
344
Commits in 2026
LeetCode
731
Rating: 1674 (Top 5%)
Repositories
22
Active Code Repositories
Stars
89
Curated by developers
SYSTEM SIMULATOR

Interactive request lifecycles

Click "Simulate Request" below to trigger a transaction pipeline and trace the flow along client nodes, proxies, cache checks, and database reads.

API Gateway Routing & Network Simulator

Simulate traffic routing to verify legacy Sophos Port Forwarding vs the centralized Nginx Gateway.

Architecture Mode
Request Destination
Request Path
▼
Isolated Private Subnet (10.0.0.0/24)
Client UI

Client UI

Client connecting securely over HTTPS

Sophos Firewall

Sophos Firewall

Firewall exposing only Port 443 to the public internet

Central Nginx

Central Nginx

Central API Gateway & TLS Terminus (IP: 10.0.0.5)

CMS (Private)

CMS (Private)

Isolated Server on internal private subnet (10.0.0.10)

Connect (Private)

Connect (Private)

Isolated Server on internal private subnet (10.0.0.20)

GATEWAY LOGGER - RUNNING #0SSL SECURE

\// Toolkit Specifications

Systems framework and configuration stacks by layers

LANGUAGES & CORE

C++Algorithms
TypeScriptType Safety
JavaScriptCore Runtimes
SQLRelational Queries

CLIENT SYSTEMS

Next.js 16SSR / SSG
React 19Component Architecture
Tailwind CSSFluid Layouts
shadcn/uiDesign Systems
Redux ToolkitGlobal Store
TanStack QueryData Sync

APPLICATION SERVICES

Node.jsEvent Loop
FastifyHigh-Throughput APIs
Socket.IOWebSockets
BullMQDecoupled Workers
Express.jsMiddleware Loops

DATABASES & ORMS

PostgreSQLACID Transactions
RedisIn-Memory Broker
MongoDBJSON Logging
Prisma ORMSchema Migrations

INFRASTRUCTURE DEPLOYMENTS

DockerContainer Isolation
Docker ComposeService Meshes
NginxReverse Proxy
Linux ServerSystem Configurations
MinIOLocal S3 Bucket

\// Experience

Professional journey & engineering impact

Software Engineering Intern

Dec '25 — May '26
National Institute of Technology Arunachal Pradesh
Engineering Team
8 Members
Legacy Vendor Savings
INR 160K/yr
Hosting Strategy
SSG + SSR Hybrid

“Led an 8-member engineering team to architect and deliver a university-scale institutional CMS, enforcing strict server-authoritative API contracts.”

Key Milestones & Contributions

  • Led an 8-member engineering team to architect and deliver a university-scale institutional CMS (Node.js/Express + PostgreSQL + Prisma), enforcing strictly server-authoritative API contracts and multi-tier RBAC middleware.
  • Architected a decoupled Next.js frontend deployment: compiled the public client into static builds (SSG) to meet strict National Informatics Centre (NIC) hosting compliance, while running the administrative portal via dynamic SSR.
  • Eradicated INR 160,000/annual legacy vendor contracts by migrating the entire infrastructure to a self-hosted, bare-metal institutional server cluster fully configured and managed internally.
  • Contributed to a Dockerized production deployment orchestrated with Docker Compose behind an Nginx reverse proxy with SSL termination and per-route rate limiting.
  • Maintained type-safe full-stack consistency across Prisma schema models, backend DTOs, and frontend TypeScript interfaces, preventing API contract drift and runtime data-shape inconsistencies.

Technologies Deployed

Next.jsReact 19TypeScriptNode.jsExpressPostgreSQLPrismaDockerNginx

\// Deployments

Production grade applications & case studies

0 → 1 System Build

Campus Connect

Solved a real physical constraint: NIT AP hostels sit 100m above the market; engineered a batch-delivery model where vendors make 1 trip for N orders, eliminating delivery chaos for 1,100+ users.

Engineering Constraint:NIT AP hostels sit 100m above the market — vendors won't climb for single orders
STACK LAYERS
Next.js 16 (Client)→Nginx→Docker→BullMQ Worker→PostgreSQL→Redis Pub/Sub→MinIO
PERFORMANCE LOGS
  • •Led architecture and end-to-end development of a production batch-delivery platform (Next.js 16, PostgreSQL, Redis, Docker) with vendor-defined order cutoff scheduling and OTP-verified delivery, targeting campus-wide deployment at NIT Arunachal Pradesh.
  • •Architected a real-time SSE notification pipeline backed by BullMQ distributed queues and Redis Pub/Sub, with atomic Lua-script connection tracking, Last-Event-ID reconnect replay, and exponential-backoff DLQ fallback for guaranteed delivery.
  • •Built containerized production infrastructure with Nginx reverse proxying, Docker Compose orchestration, per-route rate limiting, and Prometheus/Grafana/Loki observability for monitoring and alerting.
  • •Designed fully normalized relational schemas with optimized indexes on high-frequency query paths to guarantee low-latency transactional execution under simulated concurrent traffic bursts.
Next.js 16TypeScriptPostgreSQLRedisBullMQDockerNginxMinIO
0 → 1 System Build

NIT AP — Official Website

Commissioned by NIT AP administration to architect and deliver the official college web platform and internal CMS from scratch.

Engineering Constraint:No existing digital infrastructure — 10,000+ monthly visitors need a performant, maintainable platform
STACK LAYERS
Next.js 16 Static (Public)→Next.js SSR (Admin)→Fastify REST API→Prisma→PostgreSQL→Nginx→MinIO→Docker
PERFORMANCE LOGS
  • •Engineered a decoupled monorepo architecture with static public site, SSR admin portal, and Fastify REST API.
  • •Comprehensive PostgreSQL schema via Prisma supporting complex RBAC, dynamic routing, and automated faculty publication syncing via OpenAlex API.
  • •Production-ready Docker environment with Nginx reverse proxy, MinIO object storage, and Redis.
Next.js 16React 19FastifyTypeScriptPostgreSQLPrismaDockerNginxMinIO

Modular Real-Time Chat Service

A full-stack chat application using a hybrid persistence model: PostgreSQL (via Prisma) for secure user data and MongoDB for high-volume message history.

Engineering Constraint:Need reliable real-time messaging with connection recovery and file attachments at scale
STACK LAYERS
Next.js 15 (Client)→Express.js (API)→Socket.IO→Redux→PostgreSQL→MongoDB
PERFORMANCE LOGS
  • •Resilient Socket.IO communication with connection recovery and custom Redux middleware.
  • •Optimistic UI updates, typing indicators, file attachments, and read receipts.
Next.js 15React 19Node.jsExpressSocket.IOTypeScriptPostgreSQLMongoDBRedux

\// Achievements

Highlights and performance metrics

1st Place · Mar 2025

Winner — CAN Hackathon, NERIST

Deployed a working logistics MVP in just 6 hours — a campus delivery system that became the foundation for Campus Connect.

1674 Rating · Top 5%

LeetCode

567 problems solved (77 Hard). Contest Rating: 1674. Global Rank #138,780.

2,766+ Contributions

GitHub

75+ stars across open-source projects. 2,766+ contributions in 2025.

Aug 2024 — Present

Coding Club President, NIT AP

Revived Coding Pundit; led the team shipping Campus Connect and the official NIT AP site.

\// Education & Credentials

Academic history & core coursework focuses

Aug 2023 — Aug 2027

B.Tech, Computer Science & Engineering

GPA: 8.26/10
National Institute of Technology, Arunachal Pradesh
DSADBMSOSCN
2020 — 2022

Higher Secondary (PCM)

89.8%
New Horizon School, Bhagalpur

Initiate
Handshake

I am seeking Summer 2026 Internships. If you are building high-performance systems or core backend pipelines, let's talk.

karan.ks.dev@gmail.com
LinkedIn Profile
Download Resume

End of specifications loop

Initialize collaboration?

SEND EMAILLINKEDIN